소스 검색

Add include for errno to avoid compilation error

errno is used in livestats.c
kyak 9 년 전
부모
커밋
93bf001f55
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;