00001 #ifndef _system_wait_h 00002 #define _system_wait_h 00003 /* 00004 Unix SMB/CIFS implementation. 00005 00006 waitpid system include wrappers 00007 00008 Copyright (C) Andrew Tridgell 2004 00009 00010 This program is free software; you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation; either version 2 of the License, or 00013 (at your option) any later version. 00014 00015 This program is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 along with this program; if not, write to the Free Software 00022 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00023 */ 00024 00025 #ifdef HAVE_SYS_WAIT_H 00026 #include <sys/wait.h> 00027 #endif 00028 00029 #include <signal.h> 00030 00031 #ifndef SIGCLD 00032 #define SIGCLD SIGCHLD 00033 #endif 00034 00035 #ifndef SIGNAL_CAST 00036 #define SIGNAL_CAST (RETSIGTYPE (*)(int)) 00037 #endif 00038 00039 #ifdef HAVE_SETJMP_H 00040 #include <setjmp.h> 00041 #endif 00042 00043 #ifndef SA_RESETHAND 00044 #define SA_RESETHAND SA_ONESHOT 00045 #endif 00046 00047 #if !defined(HAVE_SIG_ATOMIC_T_TYPE) 00048 typedef int sig_atomic_t; 00049 #endif 00050 00051 #endif