usr.sbin, fix nsd/unbound configure
carefully checked that config.h and generated Makefiles don't change.

need for _XOPEN_VERSION pointed out by guenther@

diff --git usr.sbin/nsd/configure usr.sbin/nsd/configure
index d2d28c1..c2a40e8 100644
--- usr.sbin/nsd/configure
+++ usr.sbin/nsd/configure
@@ -6117,6 +6117,7 @@ else
 /* end confdefs.h.  */
 
 #define _XOPEN_SOURCE
+#define _XOPEN_VERSION 4
 #include <time.h>
 int main(void) { struct tm tm; char *res;
 res = strptime("20070207111842", "%Y%m%d%H%M%S", &tm);
diff --git usr.sbin/unbound/configure usr.sbin/unbound/configure
index e540ec0..336c955 100644
--- usr.sbin/unbound/configure
+++ usr.sbin/unbound/configure
@@ -15119,6 +15119,7 @@ else
 /* end confdefs.h.  */
 
 #define _XOPEN_SOURCE
+#define _XOPEN_VERSION 4
 #include <time.h>
 int main(void) { struct tm tm; char *res;
 res = strptime("2010-07-15T00:00:00+00:00", 
"%t%Y%t-%t%m%t-%t%d%tT%t%H%t:%t%M%t:%t%S%t", &tm);

-- 
I'm not entirely sure you are real.

Reply via email to