Skip to content

Commit dbac483

Browse files
committed
Merge pull request #222 from mhaas/fix-musl-libc
Fix build with MUSL, closes #221
2 parents b63ebe4 + ea0b9bd commit dbac483

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

libhttpd/protocol.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#if defined(_WIN32)
3030
#else
31+
#include <fcntl.h>
3132
#include <unistd.h>
3233
#include <sys/file.h>
3334
#endif

src/client_list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
#include <syslog.h>
3232
#include <errno.h>
3333
#include <pthread.h>
34+
#include <unistd.h>
3435
#include <sys/wait.h>
3536
#include <sys/types.h>
36-
#include <sys/unistd.h>
3737

3838
#include <string.h>
3939

src/firewall.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include <pthread.h>
3636
#include <sys/wait.h>
3737
#include <sys/types.h>
38-
#include <sys/unistd.h>
3938

4039
#include <string.h>
4140

src/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
#include <syslog.h>
3434
#include <errno.h>
3535
#include <pthread.h>
36+
#include <unistd.h>
3637
#include <sys/wait.h>
3738
#include <sys/types.h>
3839
#include <sys/time.h>
39-
#include <sys/unistd.h>
4040
#include <netinet/in.h>
4141
#include <sys/ioctl.h>
4242
#include <arpa/inet.h>

0 commit comments

Comments
 (0)