Fix issue #1: Use local queue.h from OpenBSD, may be missing on target OS

Use OpenBSD version of queue.h since the C-library may not have it (at
all), or may come with an older (buggy) version.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-02-15 18:13:18 +01:00
1 parent 51a802716d
commit 6e7234fa4d
2 files changed
+650 -1

No files matched your search

+2 -1
View File
@@ -28,7 +28,8 @@
#include <stdio.h>
#include <sys/epoll.h>
#include <sys/queue.h>
#include "queue.h" /* OpenBSD queue.h > old GLIBC version */
/* Max. number of simulateneous events */
#define UEV_MAX_EVENTS 10