[PATCH] Fix the build of process_prefork.c

Andreas Schneider asn at cryptomilk.org
Thu Oct 19 15:31:31 UTC 2017


Hi,

Samba doesn't build for me since this has been committed. The error is:

error: implicit declaration of function ‘getpgrp’; did you mean ‘getpt’? [-
Werror=implicit-function-declaration]

unistd.h is missing for that function. The attached patch fixes it.


Review and push appreciated.


Thanks,

	Andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn at cryptomilk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-smbd-Add-missing-unistd.h-include-to-fix-build-of.patch
Type: text/x-patch
Size: 949 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171019/e7623392/0001-s4-smbd-Add-missing-unistd.h-include-to-fix-build-of.bin>


More information about the samba-technical mailing list