Преглед на файлове

Merge pull request #1120 from Adam-Rowell/master

Fix -Wcpp
bel2125 преди 2 години
родител
ревизия
8cc6a8e5bf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -873,6 +873,7 @@ typedef unsigned short int in_port_t;
 #include <netdb.h>
 #include <netinet/in.h>
 #include <netinet/tcp.h>
+#include <poll.h>
 #include <pthread.h>
 #include <pwd.h>
 #include <stdarg.h>
@@ -880,7 +881,6 @@ typedef unsigned short int in_port_t;
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sys/poll.h>
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <sys/utsname.h>