[PATCH] Fix the build of process_prefork.c

Andrew Bartlett abartlet at samba.org
Thu Oct 19 21:44:55 UTC 2017

On Thu, 2017-10-19 at 21:42 +0200, Volker Lendecke via samba-technical
> On Thu, Oct 19, 2017 at 12:14:59PM -0700, Jeremy Allison via samba-
> technical wrote:
> > Do we want to add it there, and make it a formal rule ?
> > 
> > I have no objections.
> What headers would that cover? For example right now I'm working on a
> use of <linux/netlink.h>. Would that have to go through libreplace
> too? Or can we cover such OS-specific things directly?

I would have expected that to be in system/network.h for example. 

The idea, as I recall it, is to avoid a pile of #ifdef in the rest of
the code to find the 'right' header on all platforms.

(on unistd.h I agree it is a lot more standard and uniform than the


Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   

More information about the samba-technical mailing list