aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2019-03-12 17:32:25 +0000
committerepochqwert <epoch@hacking.allowed.org>2019-03-12 17:32:25 +0000
commitf0e35906a0376e3dd659b58c0cb858f93fd58765 (patch)
tree725a8b0017dd354df6089dbf1efd2b83f5e197c7
parentbef56380e2a8aa3cd910dc75d755d5d4f6f60271 (diff)
downloadlibirc-f0e35906a0376e3dd659b58c0cb858f93fd58765.tar.gz
libirc-f0e35906a0376e3dd659b58c0cb858f93fd58765.zip
fix a warn on Linux fixed with the first line of libirc.c
-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>