	Date: Sat, 13 Jan 2018 14:28:11 +0100
	From: Marc Baudoin <babafou@babafou.eu.org>
	tlbuild

--- source/common/uposixdefs.h~	2019-12-11 15:37:42.741655847 -0800
+++ source/common/uposixdefs.h	2019-12-11 15:38:16.991216886 -0800
@@ -72,3 +72,7 @@
 #endif
 
+#if defined(__cplusplus) && defined(__NetBSD__)
+#define _ISOC99_SOURCE
+#endif
+
 #endif  /* __UPOSIXDEFS_H__ */
