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

--- source/common/uposixdefs.h~	2021-02-13 08:29:38.779298547 -0800
+++ source/common/uposixdefs.h	2021-02-13 08:30:06.076827650 -0800
@@ -78,3 +78,7 @@
 #endif
 
+#if defined(__cplusplus) && defined(__NetBSD__)
+#define _ISOC99_SOURCE
+#endif
+
 #endif  /* __UPOSIXDEFS_H__ */
