stdint.h
Jeremy Allison
jra at samba.org
Wed Jul 2 20:12:33 GMT 2008
On Wed, Jul 02, 2008 at 10:19:59AM -0700, Herb Lewis wrote:
> We have a lot of files that include stdint.h without
> the #if HAVE_STDINT_H
>
> Most look to be pidl generated files except for the first.
This one only #includes <stdint.h> if !defined(_SAMBA_BUILD_).
> source/lib/socket_wrapper/socket_wrapper.c:#include <stdint.h>
The following should get fixed - they use stdint to
get definitions for uint32_t etc. which they depend
on.
> source/librpc/gen_ndr/dfs.h:#include <stdint.h>
> source/librpc/gen_ndr/dssetup.h:#include <stdint.h>
> source/librpc/gen_ndr/echo.h:#include <stdint.h>
> source/librpc/gen_ndr/epmapper.h:#include <stdint.h>
> source/librpc/gen_ndr/eventlog.h:#include <stdint.h>
> source/librpc/gen_ndr/initshutdown.h:#include <stdint.h>
> source/librpc/gen_ndr/krb5pac.h:#include <stdint.h>
> source/librpc/gen_ndr/libnet_join.h:#include <stdint.h>
> source/librpc/gen_ndr/libnetapi.h:#include <stdint.h>
> source/librpc/gen_ndr/lsa.h:#include <stdint.h>
> source/librpc/gen_ndr/messaging.h:#include <stdint.h>
> source/librpc/gen_ndr/misc.h:#include <stdint.h>
> source/librpc/gen_ndr/nbt.h:#include <stdint.h>
> source/librpc/gen_ndr/netlogon.h:#include <stdint.h>
> source/librpc/gen_ndr/notify.h:#include <stdint.h>
> source/librpc/gen_ndr/ntsvcs.h:#include <stdint.h>
> source/librpc/gen_ndr/samr.h:#include <stdint.h>
> source/librpc/gen_ndr/security.h:#include <stdint.h>
> source/librpc/gen_ndr/srvsvc.h:#include <stdint.h>
> source/librpc/gen_ndr/svcctl.h:#include <stdint.h>
> source/librpc/gen_ndr/winreg.h:#include <stdint.h>
> source/librpc/gen_ndr/wkssvc.h:#include <stdint.h>
> source/librpc/gen_ndr/xattr.h:#include <stdint.h>
Jeremy.
More information about the samba-technical
mailing list