Browse Source

Fix compile for NetBSD and OpenBSD (#11896)

Brad Smith 9 tháng trước cách đây
mục cha
commit
9a7121ed4f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libs/extc/process_stubs.c

+ 1 - 1
libs/extc/process_stubs.c

@@ -38,7 +38,7 @@
 #	include <errno.h>
 #	include <string.h>
 #	ifndef __APPLE__
-#		if defined(__FreeBSD__) || defined(__DragonFly__)
+#		if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
 #			include <sys/wait.h>
 #		else
 #			include <wait.h>