summaryrefslogtreecommitdiff
path: root/source3/lib/replace/system
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-15 19:10:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:09 -0500
commit2f66beb8adf679ed1e2e36f9c808c43f095e23cf (patch)
treeb7f486b40393da6ddc53a921d518160dbf9032f1 /source3/lib/replace/system
parent2ae539f5665ee9a849bad97cfb5ecc10cce3e766 (diff)
downloadsamba-2f66beb8adf679ed1e2e36f9c808c43f095e23cf.tar.gz
samba-2f66beb8adf679ed1e2e36f9c808c43f095e23cf.tar.bz2
samba-2f66beb8adf679ed1e2e36f9c808c43f095e23cf.zip
r20817: sync lib/replace with samba4
metze (This used to be commit 352ee730308bbc151a742938818c9b8b3a6e8014)
Diffstat (limited to 'source3/lib/replace/system')
-rw-r--r--source3/lib/replace/system/aio.h29
-rw-r--r--source3/lib/replace/system/kerberos.h1
-rw-r--r--source3/lib/replace/system/wait.h2
3 files changed, 31 insertions, 1 deletions
diff --git a/source3/lib/replace/system/aio.h b/source3/lib/replace/system/aio.h
new file mode 100644
index 0000000000..e1b9d836e7
--- /dev/null
+++ b/source3/lib/replace/system/aio.h
@@ -0,0 +1,29 @@
+#ifndef _system_aio_h
+#define _system_aio_h
+/*
+ Unix SMB/CIFS implementation.
+
+ AIO system include wrappers
+
+ Copyright (C) Andrew Tridgell 2006
+
+ 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.
+*/
+
+#if HAVE_LIBAIO_H
+#include <libaio.h>
+#endif
+
+#endif
diff --git a/source3/lib/replace/system/kerberos.h b/source3/lib/replace/system/kerberos.h
index b24196fc25..1617b96aad 100644
--- a/source3/lib/replace/system/kerberos.h
+++ b/source3/lib/replace/system/kerberos.h
@@ -126,7 +126,6 @@
#define KRB5_PRINC_REALM_RETURNS_REALM 1
#include "heimdal/lib/krb5/krb5.h"
-#include "heimdal/lib/gssapi/gssapi.h"
#include "heimdal/lib/com_err/com_err.h"
#endif
diff --git a/source3/lib/replace/system/wait.h b/source3/lib/replace/system/wait.h
index 47e3e84bb1..3855f7ae72 100644
--- a/source3/lib/replace/system/wait.h
+++ b/source3/lib/replace/system/wait.h
@@ -36,6 +36,8 @@
#define SIGNAL_CAST (RETSIGTYPE (*)(int))
#endif
+#ifdef HAVE_SETJMP_H
#include <setjmp.h>
+#endif
#endif