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:
parent
4be0ae794e
commit
036b27c8e4
@ -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>
|
||||
|
@ -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)
|
||||
|
@ -30,7 +30,10 @@
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GETOPT_H
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
|
||||
|
||||
#define REOPEN_PROB 30
|
||||
#define DELETE_PROB 8
|
||||
|
Loading…
Reference in New Issue
Block a user