summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libirc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libirc.c b/libirc.c
index b5a84a7..f98ce9a 100644
--- a/libirc.c
+++ b/libirc.c
@@ -1,5 +1,6 @@
-#include <sys/time.h>
+#define _GNU_SOURCE //I want memmem out of string.h
#include <string.h>
+#include <sys/time.h>
#include <stdlib.h>
#include <stdio.h>
#include <netinet/in.h>