diff options
author | epochqwert <epoch@hacking.allowed.org> | 2019-03-12 17:32:25 +0000 |
---|---|---|
committer | epochqwert <epoch@hacking.allowed.org> | 2019-03-12 17:32:25 +0000 |
commit | f0e35906a0376e3dd659b58c0cb858f93fd58765 (patch) | |
tree | 725a8b0017dd354df6089dbf1efd2b83f5e197c7 | |
parent | bef56380e2a8aa3cd910dc75d755d5d4f6f60271 (diff) | |
download | libirc-f0e35906a0376e3dd659b58c0cb858f93fd58765.tar.gz libirc-f0e35906a0376e3dd659b58c0cb858f93fd58765.zip |
fix a warn on Linux fixed with the first line of libirc.c
-rw-r--r-- | libirc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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> |