1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix bsd-user build on older head that doesn't have the reaper stuff yet.

PR:		197134
Submitted by:	amdmi3
This commit is contained in:
Juergen Lock 2015-01-27 21:33:13 +00:00
parent 3bf557f33c
commit f5274058df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378022

View File

@ -0,0 +1,11 @@
--- a/bsd-user/freebsd/os-proc.c
+++ b/bsd-user/freebsd/os-proc.c
@@ -364,7 +364,7 @@ execve_end:
#error __FreeBSD_version not defined!
#endif
-#if defined(__FreeBSD_version) && __FreeBSD_version >= 1100000
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 1100000 && defined(PROC_REAP_ACQUIRE)
#include <sys/procctl.h>