aboutsummaryrefslogtreecommitdiff
path: root/sntp/m4/os_cflags.m4
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2015-07-01 03:12:13 +0000
committerCy Schubert <cy@FreeBSD.org>2015-07-01 03:12:13 +0000
commit873997f35a991eee09ed91148a0cf332360380da (patch)
tree5b1ffa3ad0e56e0e9f2991011729791ee86d7632 /sntp/m4/os_cflags.m4
parent4ba32eb5a8bf3455c09d1513ed2af8d2c861a6ba (diff)
downloadsrc-873997f35a991eee09ed91148a0cf332360380da.tar.gz
src-873997f35a991eee09ed91148a0cf332360380da.zip
Vendor import ntp-4.2.8p3.vendor/ntp/4.2.8p3
Approved by: delphij (implicit, using SO hat) Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0 Security: http://bugs.ntp.org/show_bug.cgi?id=2853 Security: https://www.kb.cert.org/vuls/id/668167 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
Notes
Notes: svn path=/vendor/ntp/dist/; revision=284990 svn path=/vendor/ntp/4.2.8p3/; revision=284992; tag=vendor/ntp/4.2.8p3
Diffstat (limited to 'sntp/m4/os_cflags.m4')
-rw-r--r--sntp/m4/os_cflags.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/sntp/m4/os_cflags.m4 b/sntp/m4/os_cflags.m4
index 2ac4ffc7dfb7..a2161e659ad3 100644
--- a/sntp/m4/os_cflags.m4
+++ b/sntp/m4/os_cflags.m4
@@ -45,7 +45,7 @@ AC_DEFUN([NTP_OS_CFLAGS], [
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
@@ -55,7 +55,7 @@ AC_DEFUN([NTP_OS_CFLAGS], [
# 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