diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-02 01:42:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:13 -0500 |
commit | 26c6b4c70bd85d8030a96651f2a255a4d48fcda1 (patch) | |
tree | 9d043fc9b4b7ed836066487d9ca354a78adc0136 /source4/include/system | |
parent | 71107c0eb723545ef5807d58af2ab2f5d99d7206 (diff) | |
download | samba-26c6b4c70bd85d8030a96651f2a255a4d48fcda1.tar.gz samba-26c6b4c70bd85d8030a96651f2a255a4d48fcda1.tar.bz2 samba-26c6b4c70bd85d8030a96651f2a255a4d48fcda1.zip |
r3449: more include file reduction
the ldb part isn't ideal, I will have to think of a better solution
(This used to be commit 6b1f86aea8427a8e957b1aeb0ec2f507297f07cb)
Diffstat (limited to 'source4/include/system')
-rw-r--r-- | source4/include/system/filesys.h | 6 | ||||
-rw-r--r-- | source4/include/system/iconv.h | 4 | ||||
-rw-r--r-- | source4/include/system/resource.h | 35 |
3 files changed, 45 insertions, 0 deletions
diff --git a/source4/include/system/filesys.h b/source4/include/system/filesys.h index d99f892995..d038d8c085 100644 --- a/source4/include/system/filesys.h +++ b/source4/include/system/filesys.h @@ -52,3 +52,9 @@ #include <sys/statvfs.h> #endif +#ifdef HAVE_SYS_FILIO_H +#include <sys/filio.h> +#endif + +#include <sys/file.h> + diff --git a/source4/include/system/iconv.h b/source4/include/system/iconv.h index 76b767e2e8..c70fc6b242 100644 --- a/source4/include/system/iconv.h +++ b/source4/include/system/iconv.h @@ -29,3 +29,7 @@ #endif #endif +#ifdef HAVE_CTYPE_H +#include <ctype.h> +#endif + diff --git a/source4/include/system/resource.h b/source4/include/system/resource.h new file mode 100644 index 0000000000..e95448e5b7 --- /dev/null +++ b/source4/include/system/resource.h @@ -0,0 +1,35 @@ +/* + Unix SMB/CIFS implementation. + + resource system include wrappers + + Copyright (C) Andrew Tridgell 2004 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifdef HAVE_SYS_RESOURCE_H +#include <sys/resource.h> +#endif + + +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif + +#ifdef HAVE_LIMITS_H +#include <limits.h> +#endif + |