Kaynağa Gözat

Fix -Wcpp

poll.h is the posix header, sys/poll.h is a redirect

Change-Id: I544285945eb9d62b9b8ca5593ad578a602bb2cab
Adam Rowell 2 yıl önce
ebeveyn
işleme
2fb2ec8ac8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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>