diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-01 18:59:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-01 18:59:27 +0000 |
commit | ec78132f5a41a7a4d53c7b838aee7336e6446f45 (patch) | |
tree | 0570c768757a6fe3ffc89531d77209a3f31130a0 | |
parent | 3cecbbb4c4254fef4a9a4a2bc633c9c44aa1c87b (diff) | |
download | libmicrohttpd-ec78132f5a41a7a4d53c7b838aee7336e6446f45.tar.gz libmicrohttpd-ec78132f5a41a7a4d53c7b838aee7336e6446f45.zip |
-fix ftbfs on freebsd
-rw-r--r-- | src/microhttpd/daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 7bbb2533..d5a0ceaf 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -50,6 +50,10 @@ | |||
50 | #include <sys/sendfile.h> | 50 | #include <sys/sendfile.h> |
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | #ifndef HAVE_ACCEPT4 | ||
54 | #define HAVE_ACCEPT4 | ||
55 | #endif | ||
56 | |||
53 | /** | 57 | /** |
54 | * Default connection limit. | 58 | * Default connection limit. |
55 | */ | 59 | */ |