1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r10459: fixed some portability problems

(This used to be commit 03942dd54b)
This commit is contained in:
Andrew Tridgell 2005-09-24 02:31:43 +00:00 committed by Gerald (Jerry) Carter
parent 4be0ae794e
commit 036b27c8e4
3 changed files with 6 additions and 0 deletions

View File

@ -33,7 +33,9 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <fcntl.h>
#include <unistd.h>
#include <string.h>

View File

@ -1,4 +1,5 @@
AC_CHECK_FUNCS(mmap pread pwrite)
AC_CHECK_HEADERS(getopt.h)
if test x"$experimental" = x"yes"; then
SMB_LIBRARY_ENABLE(libtdb,YES)

View File

@ -30,7 +30,10 @@
#endif
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#define REOPEN_PROB 30
#define DELETE_PROB 8