Don't include osl.h from the audio format handlers.
[paraslash.git] / ringbuffer.c
index efe4fd053a9cee6fa6bc984ba7be03443faa381d..eee2ca104e9aa1531f1df4b219bd5e6efb6f6a92 100644 (file)
@@ -1,11 +1,13 @@
 /*
- * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
 /** \file ringbuffer.c Simple ringbuffer implementation */
 
+#include <regex.h>
+
 #include "para.h"
 #include "ringbuffer.h"
 #include "string.h"
@@ -47,7 +49,7 @@ struct ringbuffer *ringbuffer_new(unsigned size)
        rb->entries = para_calloc(size * sizeof(void *));
        rb->size = size;
        return rb;
-};
+}
 
 /**
  * Add one entry to a ringbuffer.