cleard and moved includes to header

This commit is contained in:
2025-05-25 16:01:05 +02:00
parent 11146fb632
commit 69d537bddd
2 changed files with 4 additions and 11 deletions

View File

@ -1,4 +1,8 @@
#include <stddef.h>
#ifdef RINGBUFFER_THREAD_SAFE
#include <pthread.h>
#endif
struct ringBuffer {
void *buffer;