Conditionally include header files, and include nbcompat.h

Addresses PR#32149
This commit is contained in:
ben 2005-11-23 14:58:16 +00:00
parent 292989c8b6
commit 81789679db
1 changed files with 17 additions and 1 deletions

View File

@ -1,9 +1,25 @@
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <nbcompat.h>
#if HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#if HAVE_ERR_H
#include <err.h>
#endif
#if HAVE_ERRNO_H
#include <errno.h>
#endif
#if HAVE_STDLIB_H
#include <stdlib.h>
#include <stdio.h>
#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#if HAVE_STDIO_H
#include <stdio.h>
#endif
#include "lib.h"