1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r3448: some systems don't have stdint.h

(This used to be commit 8afc2b3bc1)
This commit is contained in:
Andrew Tridgell 2004-11-02 00:30:45 +00:00 committed by Gerald (Jerry) Carter
parent ead3508ac8
commit 71107c0eb7
2 changed files with 3 additions and 5 deletions

View File

@ -241,6 +241,7 @@ AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h termios.h t
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.

View File

@ -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>