svn commit: samba r3448 - in branches/SAMBA_4_0/source: build/m4
include
tridge at samba.org
tridge at samba.org
Tue Nov 2 00:30:48 GMT 2004
Author: tridge
Date: 2004-11-02 00:30:45 +0000 (Tue, 02 Nov 2004)
New Revision: 3448
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3448
Log:
some systems don't have stdint.h
Modified:
branches/SAMBA_4_0/source/build/m4/rewrite.m4
branches/SAMBA_4_0/source/include/includes.h
Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/rewrite.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/rewrite.m4 2004-11-02 00:24:21 UTC (rev 3447)
+++ branches/SAMBA_4_0/source/build/m4/rewrite.m4 2004-11-02 00:30:45 UTC (rev 3448)
@@ -241,6 +241,7 @@
AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h sys/sockio.h)
AC_CHECK_HEADERS(security/pam_modules.h security/_pam_macros.h dlfcn.h)
AC_CHECK_HEADERS(sys/syslog.h syslog.h)
+AC_CHECK_HEADERS(stdint.h)
#
# HPUX has a bug in that including shadow.h causes a re-definition of MAXINT.
Modified: branches/SAMBA_4_0/source/include/includes.h
===================================================================
--- branches/SAMBA_4_0/source/include/includes.h 2004-11-02 00:24:21 UTC (rev 3447)
+++ branches/SAMBA_4_0/source/include/includes.h 2004-11-02 00:30:45 UTC (rev 3448)
@@ -72,19 +72,18 @@
/** Feel free to add definitions for other compilers here. */
#endif
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include <sys/types.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
#include <unistd.h>
-
#include <stdio.h>
#include <stddef.h>
@@ -92,9 +91,7 @@
#include <sys/param.h>
#endif
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#ifdef HAVE_STRING_H
#include <string.h>
More information about the samba-cvs
mailing list