Include <stdio.h> and <stdlib.h> in settings.h for everyone.

personal/stbuehler/wip
Stefan Bühler 14 years ago
parent dfb1db14d7
commit 3a1af99500
  1. 3
      include/lighttpd/settings.h
  2. 1
      src/utils.c

@ -82,7 +82,8 @@
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
/* on linux 2.4.x you get either sendfile or LFS */
#if defined(LIGHTY_OS_LINUX) && defined(HAVE_SYS_SENDFILE_H) && defined(HAVE_SENDFILE) && (defined(_LARGEFILE_SOURCE) || defined(HAVE_SENDFILE64)) && defined(HAVE_WRITEV) && !defined(HAVE_SENDFILE_BROKEN)

@ -4,7 +4,6 @@
#include <lighttpd/plugin_core.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
void fatal(const gchar* msg) {

Loading…
Cancel
Save