diff options
author | Martin Schwenke <martin@meltin.net> | 2014-09-22 19:43:27 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-10-04 00:11:21 +0200 |
commit | 8dac190ee1bc0e7f6d17eeca097f027fcaf584ed (patch) | |
tree | 423db643ec6b25f44699572bac852d983611023b /lib/util/fault.c | |
parent | d92940819f4162985a70f6b2c79032f75f9fce49 (diff) | |
download | samba-8dac190ee1bc0e7f6d17eeca097f027fcaf584ed.tar.gz samba-8dac190ee1bc0e7f6d17eeca097f027fcaf584ed.tar.xz samba-8dac190ee1bc0e7f6d17eeca097f027fcaf584ed.zip |
lib/util: Clean up includes for fault.c
Add fault.h. Allows standalone compiles without external includes.h.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util/fault.c')
-rw-r--r-- | lib/util/fault.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/util/fault.c b/lib/util/fault.c index 78d9177547..54d8471174 100644 --- a/lib/util/fault.c +++ b/lib/util/fault.c @@ -18,8 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "includes.h" +#include "replace.h" #include "system/filesys.h" +#include "system/wait.h" #include "version.h" #ifdef HAVE_SYS_SYSCTL_H @@ -31,6 +32,11 @@ #include <sys/prctl.h> #endif +#include "debug.h" +#include "lib/util/signal.h" /* Avoid /usr/include/signal.h */ +#include "substitute.h" +#include "fault.h" + static struct { bool disabled; smb_panic_handler_t panic_handler; |