summaryrefslogtreecommitdiff
path: root/source4/web_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-15 19:08:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:35 -0500
commit71f6a4d05bf46ca9456a3bc9f2d3263936b18ae2 (patch)
tree2ad2fb382def2d3b576afcd55e71358379909e0c /source4/web_server
parent28438101bd07a96ef5a3725660eb43b486a0eae0 (diff)
downloadsamba-71f6a4d05bf46ca9456a3bc9f2d3263936b18ae2.tar.gz
samba-71f6a4d05bf46ca9456a3bc9f2d3263936b18ae2.tar.bz2
samba-71f6a4d05bf46ca9456a3bc9f2d3263936b18ae2.zip
r20816: merge from samba3:
include setjmp.h via system/wait.h metze (This used to be commit 1b10cbb62950693760d4af6ab8691a4ba70908c9)
Diffstat (limited to 'source4/web_server')
-rw-r--r--source4/web_server/config.m42
-rw-r--r--source4/web_server/http.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/source4/web_server/config.m4 b/source4/web_server/config.m4
deleted file mode 100644
index 2dd5e5b823..0000000000
--- a/source4/web_server/config.m4
+++ /dev/null
@@ -1,2 +0,0 @@
-AC_CHECK_HEADERS(setjmp.h)
-
diff --git a/source4/web_server/http.c b/source4/web_server/http.c
index 30ca17411e..8c6cb1fa3a 100644
--- a/source4/web_server/http.c
+++ b/source4/web_server/http.c
@@ -27,6 +27,7 @@
#include "smbd/service.h"
#include "lib/events/events.h"
#include "system/time.h"
+#include "system/wait.h"
#include "lib/appweb/esp/esp.h"
#include "lib/appweb/ejs/ejsInternal.h"
#include "lib/util/dlinklist.h"
@@ -484,7 +485,6 @@ static void http_setup_arrays(struct esp_state *esp)
it hits a major error. We need to catch these and
report a internal server error via http
*/
-#include <setjmp.h>
static jmp_buf ejs_exception_buf;
static const char *exception_reason;