diff options
Diffstat (limited to 'src/microhttpd/mhd_send.h')
-rw-r--r-- | src/microhttpd/mhd_send.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/microhttpd/mhd_send.h b/src/microhttpd/mhd_send.h index 22d934b3..12ac1ac6 100644 --- a/src/microhttpd/mhd_send.h +++ b/src/microhttpd/mhd_send.h | |||
@@ -39,19 +39,14 @@ | |||
39 | #include "connection_https.h" | 39 | #include "connection_https.h" |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #ifdef MHD_LINUX_SOLARIS_SENDFILE | 42 | #ifdef HAVE_FREEBSD_SENDFILE |
43 | #include <sys/sendfile.h> | 43 | /** |
44 | #endif /* MHD_LINUX_SOLARIS_SENDFILE */ | 44 | * Initialises static variables |
45 | #if defined(HAVE_FREEBSD_SENDFILE) || defined(HAVE_DARWIN_SENDFILE) | 45 | */ |
46 | #include <sys/types.h> | 46 | void |
47 | #include <sys/socket.h> | 47 | MHD_send_init_static_vars_ (void); |
48 | #include <sys/uio.h> | 48 | |
49 | #endif /* HAVE_FREEBSD_SENDFILE || HAVE_DARWIN_SENDFILE */ | 49 | #endif /* HAVE_FREEBSD_SENDFILE */ |
50 | |||
51 | #ifdef HAVE_SYS_PARAM_H | ||
52 | /* For FreeBSD version identification */ | ||
53 | #include <sys/param.h> | ||
54 | #endif /* HAVE_SYS_PARAM_H */ | ||
55 | 50 | ||
56 | /** | 51 | /** |
57 | * The enumeration of send socket options. | 52 | * The enumeration of send socket options. |