]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1469] more int32 cleanup
authorHarlan Stenn <stenn@ntp.org>
Tue, 2 Feb 2010 08:28:17 +0000 (08:28 +0000)
committerHarlan Stenn <stenn@ntp.org>
Tue, 2 Feb 2010 08:28:17 +0000 (08:28 +0000)
bk: 4b67e221Y4URYX4AiKp6AIds2UU10w

configure.ac
include/ntp_types.h

index d93eeb44995298bcc39893dd67437924a8fe60a6..f37c7370984d2087bb711f400576812cdaa38b40 100644 (file)
@@ -428,7 +428,7 @@ AC_CHECK_HEADER(dns_sd.h,
 case "$ac_cv_lib_dns_sd_DNSServiceRegister" in
  yes) LIBS="-ldns_sd $LIBS" ;;
 esac
-AC_CHECK_HEADERS(errno.h fcntl.h ieeefp.h kvm.h math.h)
+AC_CHECK_HEADERS(errno.h fcntl.h ieeefp.h inttypes.h kvm.h math.h)
 
 AC_CHECK_HEADERS(md5.h, [], [],
 [#if HAVE_SYS_TYPES_H
index 25b9f4081aac30e8ac562697c03fdd659589b83b..51e1b241ca88466ad976baa8d506d073d7ee85e5 100644 (file)
@@ -7,10 +7,11 @@
 #ifndef NTP_TYPES_H
 #define NTP_TYPES_H
 
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
 #include <sys/types.h>
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+
 #include "ntp_machine.h"
 
 /*