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

--- source/common/uposixdefs.h~	2022-10-18 17:53:21.000000000 -0700
+++ source/common/uposixdefs.h	2023-01-07 15:09:54.231770013 -0800
@@ -75,3 +75,7 @@
 #endif
 
+#if defined(__cplusplus) && defined(__NetBSD__)
+#define _ISOC99_SOURCE
+#endif
+
 #endif  /* __UPOSIXDEFS_H__ */
