Wrap stdint.h includes in ifdefs.

This commit is contained in:
Darren Tucker 2015-02-23 03:07:24 +11:00
parent f81f1bbc5b
commit 37f9220db8
3 changed files with 6 additions and 0 deletions

View File

@ -57,7 +57,9 @@
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -22,7 +22,9 @@
#include <sys/types.h>
#include <errno.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdlib.h>
/*

View File

@ -22,7 +22,9 @@
#include <netinet/in.h>
#include <errno.h>
#include <stdlib.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdio.h>
#include <limits.h>
#include <string.h>