diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-01-15 19:08:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:43:35 -0500 |
commit | 71f6a4d05bf46ca9456a3bc9f2d3263936b18ae2 (patch) | |
tree | 2ad2fb382def2d3b576afcd55e71358379909e0c /source4/lib/replace | |
parent | 28438101bd07a96ef5a3725660eb43b486a0eae0 (diff) | |
download | samba-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/lib/replace')
-rw-r--r-- | source4/lib/replace/libreplace.m4 | 1 | ||||
-rw-r--r-- | source4/lib/replace/system/wait.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index dff6098297..3328dea95e 100644 --- a/source4/lib/replace/libreplace.m4 +++ b/source4/lib/replace/libreplace.m4 @@ -62,6 +62,7 @@ AC_FUNC_MEMCMP AC_CHECK_FUNCS(pipe strftime srandom random srand rand usleep setbuffer lstat getpgrp) AC_CHECK_HEADERS(stdbool.h sys/select.h) +AC_CHECK_HEADERS(setjmp.h) AC_CHECK_TYPE(bool, [AC_DEFINE(HAVE_BOOL, 1, [Whether the bool type is available])],, diff --git a/source4/lib/replace/system/wait.h b/source4/lib/replace/system/wait.h index c2041a5938..3855f7ae72 100644 --- a/source4/lib/replace/system/wait.h +++ b/source4/lib/replace/system/wait.h @@ -36,4 +36,8 @@ #define SIGNAL_CAST (RETSIGTYPE (*)(int)) #endif +#ifdef HAVE_SETJMP_H +#include <setjmp.h> +#endif + #endif |