bk: 553d424aVF9hgwiG5DD2-QmBDA_D1A
* [Bug 2808] GPSD_JSON driver enhancements, step 1.
Various improvements, see http://bugs.ntp.org/2808 for details.
Changed libjsmn to a more recent version.
+* [Bug 2813] HP-UX needs -D__STDC_VERSION__=199901L and limits.h.
* Improve the ntpq documentation around the controlkey keyid.
* autogen-5.18.5
---
# include <stdint.h>
#endif
+/* Bug 2813 */
+#ifdef HAVE_LIMITS_H
+# include <limits.h>
+#endif
+
#include "ntp_machine.h"
ntp_os_cflags="-Ae -Wp,-H18816"
;;
esac
- ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE"
+ ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L"
;;
hpux*)
case "$GCC" in
# use Ansi compiler on HPUX
ntp_os_cflags="-Ae"
esac
- ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE"
+ ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L"
;;
irix6*)
case "$CC" in