projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix compile errors on linux
[project/uhttpd.git]
/
main.c
diff --git
a/main.c
b/main.c
index
100e285
..
26dc55c
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-17,6
+17,8
@@
* limitations under the License.
*/
* limitations under the License.
*/
+#define _GNU_SOURCE
+#define _XOPEN_SOURCE 700
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@
-25,6
+27,7
@@
#include <errno.h>
#include <netdb.h>
#include <signal.h>
#include <errno.h>
#include <netdb.h>
#include <signal.h>
+#include <unistd.h>
#include <libubox/usock.h>
#include <libubox/usock.h>