aboutsummaryrefslogtreecommitdiffstats
path: root/src/zix/ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zix/ring.c')
-rw-r--r--src/zix/ring.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zix/ring.c b/src/zix/ring.c
index a76b4ea..6af9e07 100644
--- a/src/zix/ring.c
+++ b/src/zix/ring.c
@@ -14,9 +14,7 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <stdint.h>
-#include <stdlib.h>
-#include <string.h>
+#include "zix/ring.h"
#ifdef HAVE_MLOCK
# include <sys/mman.h>
@@ -50,7 +48,9 @@
# define ZIX_READ_BARRIER()
#endif
-#include "zix/ring.h"
+#include <stdint.h>
+#include <stdlib.h>
+#include <string.h>
struct ZixRingImpl {
uint32_t write_head; ///< Read index into buf