Include inttypes.h instead of stdint.h (fixes issue299)

Many projects use inttypes.h, too. stdint.h isn't available everywhere, e.g.
on some versions of Solaris, while inttypes.h is available everywhere where
stdint.h is.
This commit is contained in:
Thomas Arendsen Hein 2006-06-30 21:41:46 +02:00
parent 1a37a0b91c
commit 5088fdd568
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ static uint32_t htonl(uint32_t x)
#else
#include <sys/types.h>
#include <arpa/inet.h>
#include <stdint.h>
#include <inttypes.h>
#endif
struct line {

View File

@ -43,7 +43,7 @@ static uint32_t ntohl(uint32_t x)
/* not windows */
# include <sys/types.h>
# include <arpa/inet.h>
# include <stdint.h>
# include <inttypes.h>
#endif
static char mpatch_doc[] = "Efficient binary patching.";