Commit Diff


commit - 7a2c88509bea849196ed4b77cf10512c4ff40cce
commit + 4753f0691a01a52bd5aa6b650832fbc3fba9218e
blob - 46c1b05f13f5c307f3e85bbe6cafa1fab36ae384
blob + d80aaec971e3a64eaa2bf2b0db0614ce1f99537b
--- src/libthread/FreeBSD.c
+++ src/libthread/FreeBSD.c
@@ -1,5 +1,8 @@
 #include "threadimpl.h"
 
+#undef exits
+#undef _exits
+
 extern int __isthreaded;
 
 /*
blob - 25a98d9607aa6702e85811086639a8c089d1a6f5
blob + f741a03ddb1a11121a142ffc9da82b2c13f7d01e
--- src/libthread/Linux.c
+++ src/libthread/Linux.c
@@ -1,5 +1,8 @@
 #include "threadimpl.h"
 
+#undef exits
+#undef _exits
+
 static int
 timefmt(Fmt *fmt)
 {