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

--- source/common/uposixdefs.h~	2022-01-16 14:46:51.036231730 -0800
+++ source/common/uposixdefs.h	2022-01-16 14:47:26.072904130 -0800
@@ -78,3 +78,7 @@
 #endif
 
+#if defined(__cplusplus) && defined(__NetBSD__)
+#define _ISOC99_SOURCE
+#endif
+
 #endif  /* __UPOSIXDEFS_H__ */
