]> jfr.im git - irc/quakenet/newserv.git/commitdiff
fix assorted undefined functions on newer OS 71/head
authorChris Porter <redacted>
Tue, 29 May 2018 01:16:38 +0000 (02:16 +0100)
committerChris Porter <redacted>
Tue, 29 May 2018 01:16:38 +0000 (02:16 +0100)
a4stats/a4stats_db.c
proxyscan/proxyscanconnect.c
splitlist/splitlist_commands.c

index dbcbe715245005ed590007b1fd5319dd9307fbbb..714d07fa0e83971d89315a88172701dfc219781c 100644 (file)
@@ -1,5 +1,7 @@
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <stdarg.h>
+#include <string.h>
 #include "../lib/version.h"
 #include "../dbapi2/dbapi2.h"
 #include "../core/error.h"
index 61e585d83b6bdcca6edcc253cff0561b9ee96fd2..0b0260c894e647dfc17425d257cc187cf3a85541 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "proxyscan.h"
 #include <stdlib.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
index 868feca3f3fccab267584472c181c74b582704b8..a3f4e6e64834d7616d7680d477c05b93bdcaab5a 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <errno.h>
 #include <string.h>
+#include <strings.h>
 
 #include "../lib/irc_string.h"
 #include "../irc/irc.h"