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