diff options
Diffstat (limited to 'http_get.c')
-rw-r--r-- | http_get.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,9 +6,10 @@ #include "cmogstored.h" #include "http.h" #if defined(HAVE_SENDFILE) -# if defined(__linux__) +# ifdef HAVE_SYS_SENDFILE_H /* Linux */ # include <sys/sendfile.h> -# else +# endif +# ifndef __linux__ /* * make BSD sendfile look like Linux for now... * we can support SF_NODISKIO later |