From: Harlan Stenn Date: Sat, 4 Jul 2015 04:44:41 +0000 (-0400) Subject: On some versions of HP-UX, inttypes.h does not include stdint.h. H.Stenn. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef4865a110d4903c1dd7ba9442f221d6c64a7dce;p=thirdparty%2Fntp.git On some versions of HP-UX, inttypes.h does not include stdint.h. H.Stenn. bk: 559764b9UIpP_jq4m0z_PJ3SAruvoA --- diff --git a/ChangeLog b/ChangeLog index bdc52c2ad..d4a105492 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ * Put Unity CPPFLAGS items in unity_config.h. Harlan Stenn. * tests/ntpd/g_leapsec.cpp typo fix. Harlan Stenn. * Phase 1 deprecation of google test in sntp/tests/. Harlan Stenn. +* On some versions of HP-UX, inttypes.h does not include stdint.h. H.Stenn. --- (4.2.8p3) 2015/06/29 Released by Harlan Stenn diff --git a/include/ntp_types.h b/include/ntp_types.h index 1c66165b3..a947f3057 100644 --- a/include/ntp_types.h +++ b/include/ntp_types.h @@ -15,7 +15,8 @@ #include #if defined(HAVE_INTTYPES_H) # include -#elif defined(HAVE_STDINT_H) +#endif +#if defined(HAVE_STDINT_H) # include #endif