1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-23 11:17:06 +03:00

3 Commits

Author SHA1 Message Date
Andrew Tridgell
800212bc12 r3578: a couple of include changes that should help with FreeBSD
(This used to be commit d8c4a660a08d7be8b69e4e5458bdcc1cb492506e)
2007-10-10 13:05:33 -05:00
Andrew Tridgell
2b4e716f7a r3548: removed extra net/if.h include
(This used to be commit 1551f211d983398a4f27eaeebdd4bf05f8beb330)
2007-10-10 13:05:31 -05:00
Andrew Tridgell
284349482f r3443: the next stage in the include files re-organisation.
I have created the include/system/ directory, which will contain the
wrappers for the system includes for logical subsystems. So far I have
created include/system/kerberos.h and include/system/network.h, which
contain all the system includes for kerberos code and networking code.
These are the included in subsystems that need kerberos or networking
respectively.

Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C
file, instead each C module includes the include/system/XXX.h file for
the logical system support it needs, and the details are kept isolated
in include/system/

This patch also creates a "struct ipv4_addr" which replaces "struct
in_addr" in our code. That avoids every C file needing to import all
the system networking headers.
(This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
2007-10-10 13:05:11 -05:00