#define RING_USE_STDLIB_ALLOC 1 #include int main(void) { ring_buffer * r = ring_buffer_create(10, 1, OVERFLOW_OVERWRITE); ring_buffer_destroy(r); return 0; }