r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every opcode on the
[Samba.git] / source / lib / replace / system / wait.h
blob96b5c2cb807fb83939724b3757a32ea3c92d9f39
1 #ifndef _system_wait_h
2 #define _system_wait_h
3 /*
4 Unix SMB/CIFS implementation.
6 waitpid system include wrappers
8 Copyright (C) Andrew Tridgell 2004
10 ** NOTE! The following LGPL license applies to the replace
11 ** library. This does NOT imply that all of Samba is released
12 ** under the LGPL
14 This library is free software; you can redistribute it and/or
15 modify it under the terms of the GNU Lesser General Public
16 License as published by the Free Software Foundation; either
17 version 2 of the License, or (at your option) any later version.
19 This library is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 Lesser General Public License for more details.
24 You should have received a copy of the GNU Lesser General Public
25 License along with this library; if not, write to the Free Software
26 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 #ifdef HAVE_SYS_WAIT_H
31 #include <sys/wait.h>
32 #endif
34 #include <signal.h>
36 #ifndef SIGCLD
37 #define SIGCLD SIGCHLD
38 #endif
40 #ifndef SIGNAL_CAST
41 #define SIGNAL_CAST (RETSIGTYPE (*)(int))
42 #endif
44 #ifdef HAVE_SETJMP_H
45 #include <setjmp.h>
46 #endif
48 #ifndef SA_RESETHAND
49 #define SA_RESETHAND SA_ONESHOT
50 #endif
52 #endif