소스 검색

Fix compile for NetBSD and OpenBSD (#11896)

Brad Smith 9 달 전
부모
커밋
9a7121ed4f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>