Browse Source

Add include for errno to avoid compilation error

errno is used in livestats.c
kyak 9 years ago
parent
commit
93bf001f55
1 changed files with 1 additions and 0 deletions
  1. 1 0
      stats.c

+ 1 - 0
stats.c

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