From 51e0f2087bae96978d743244d6dcc95a5a3dc60d Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Wed, 13 Apr 2016 02:34:34 -0400 Subject: [PATCH] [core] define __STDC_WANT_LIB_EXT1__ (fixes #2722) x-ref: "define __STDC_WANT_LIB_EXT1__ for memset_s()" https://redmine.lighttpd.net/issues/2722 --- NEWS | 1 + src/first.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index cc6f35f9..b197082b 100644 --- a/NEWS +++ b/NEWS @@ -72,6 +72,7 @@ NEWS * [mod_status] page refresh option (fixes #2170) * [mod_status] table w/ count of con states (fixes #2427) * [mod_dirlisting] class for dir (fixes #2304) + * [core] define __STDC_WANT_LIB_EXT1__ (fixes #2722) - 1.4.39 - 2016-01-02 * [core] fix memset_s call (fixes #2698) diff --git a/src/first.h b/src/first.h index 0efd0f0c..38a011f8 100644 --- a/src/first.h +++ b/src/first.h @@ -9,4 +9,8 @@ # endif #endif +#ifndef __STDC_WANT_LIB_EXT1__ +#define __STDC_WANT_LIB_EXT1__ 1 +#endif + #endif