diff options
Diffstat (limited to 'libiberty/mkstemp.c')
-rw-r--r-- | libiberty/mkstemp.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libiberty/mkstemp.c b/libiberty/mkstemp.c index 21afcf0..f0eb78c 100644 --- a/libiberty/mkstemp.c +++ b/libiberty/mkstemp.c @@ -16,16 +16,26 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifndef IN_GCC +#ifdef HAVE_STDLIB_H #include <stdlib.h> +#endif +#ifdef HAVE_STRING_H #include <string.h> +#endif #include <errno.h> #include <stdio.h> #include <fcntl.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <sys/time.h> +#include "ansidecl.h" #else -#include "config.h" #include "system.h" #include "gansidecl.h" #endif |