Explorar el Código

Add include for errno to avoid compilation error

errno is used in livestats.c
kyak hace 9 años
padre
commit
93bf001f55
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      stats.c

+ 1 - 0
stats.c

@@ -42,6 +42,7 @@
 #include <ctype.h>
 #include <sys/types.h>
 #include <fcntl.h>
+#include <errno.h>
 
 #undef global
 static Function *global = NULL, *irc_funcs = NULL, *server_funcs = NULL, *channels_funcs = NULL;