aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-11-29 10:57:46 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-11-29 10:57:46 +0100
commit6d8f861bf25b9a651e1672d6e8c153339bde8f5c (patch)
tree3575e894a51567b1eabc79490c7194a74172b6ce
parentadd a way to pass userdata to server and client callbacks (diff)
downloadglouglou-6d8f861bf25b9a651e1672d6e8c153339bde8f5c.tar.xz
glouglou-6d8f861bf25b9a651e1672d6e8c153339bde8f5c.zip
include event.h here, and also the default queue.h of the system instead of the
shipped one for now
-rw-r--r--libglouglou/libglouglou.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libglouglou/libglouglou.h b/libglouglou/libglouglou.h
index 93a4492..dd972d7 100644
--- a/libglouglou/libglouglou.h
+++ b/libglouglou/libglouglou.h
@@ -1,5 +1,11 @@
#include <sys/types.h>
-#include "contrib/queue.h"
+#include <event.h>
+/* XXX for now lets use the default sys/queue.h
+ * maybe in the future it will become a pain on linux because they ship
+ * an old version of it, and i'll need to ship the BSD version
+ * #include "contrib/queue.h"
+ */
+#include <sys/queue.h>
#define PACKET_VERSION 1
#define PACKET_BUFFER_SIZE 16384