don't include stdint.h unless HAVE_STDINT_H set

This commit is contained in:
Damien Miller 2015-02-24 09:04:32 +11:00
parent 62f678dd51
commit 9af21979c0
3 changed files with 6 additions and 0 deletions

View File

@ -39,7 +39,9 @@
#endif
#include <pwd.h>
#include <signal.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>

View File

@ -35,7 +35,9 @@
#include <errno.h>
#include <stdarg.h>
#include <stddef.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdlib.h>
#include <string.h>

View File

@ -16,7 +16,9 @@
#include "includes.h"
#include <stdarg.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>