summaryrefslogtreecommitdiff
path: root/source/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-08-25 13:17:04 +0000
committerLuke Leighton <lkcl@samba.org>1998-08-25 13:17:04 +0000
commitd1005b5692e41660a2a7230231b0591aa0773485 (patch)
tree2308fb776ee81d6e5702e9f2c106066bb6284928 /source/include
parent2af95650174ae02a9768fbbbf7c206e15bf18f79 (diff)
downloadsamba-d1005b5692e41660a2a7230231b0591aa0773485.tar.gz
added loads of pointless rpcsvc/ and rpc/ include files, all because
rpcsvc/ypclnt.h wants a struct dom_binding. knock-on include effect under freebsd 2.1.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/config.h.in15
-rw-r--r--source/include/includes.h20
2 files changed, 35 insertions, 0 deletions
diff --git a/source/include/config.h.in b/source/include/config.h.in
index 876fa619d16..dd8e509fade 100644
--- a/source/include/config.h.in
+++ b/source/include/config.h.in
@@ -302,6 +302,21 @@
/* Define if you have the <netinet/tcp.h> header file. */
#undef HAVE_NETINET_TCP_H
+/* Define if you have the <rpc/types.h> header file. */
+#undef HAVE_RPC_TYPES_H
+
+/* Define if you have the <rpc/xdr.h> header file. */
+#undef HAVE_RPC_XDR_H
+
+/* Define if you have the <rpc/auth.h> header file. */
+#undef HAVE_RPC_AUTH_H
+
+/* Define if you have the <rpc/clnt.h> header file. */
+#undef HAVE_RPC_CLNT_H
+
+/* Define if you have the <rpcsvc/yp_prot.h> header file. */
+#undef HAVE_RPCSVC_YP_PROT_H
+
/* Define if you have the <rpcsvc/ypclnt.h> header file. */
#undef HAVE_RPCSVC_YPCLNT_H
diff --git a/source/include/includes.h b/source/include/includes.h
index 5d050bf627a..4993a29e2b8 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -254,6 +254,26 @@
#include <compat.h>
#endif
+#ifdef HAVE_RPC_TYPES_H
+#include <rpc/types.h>
+#endif
+
+#ifdef HAVE_RPC_XDR_H
+#include <rpc/xdr.h>
+#endif
+
+#ifdef HAVE_RPC_AUTH_H
+#include <rpc/auth.h>
+#endif
+
+#ifdef HAVE_RPC_CLNT_H
+#include <rpc/clnt.h>
+#endif
+
+#ifdef HAVE_RPCSVC_YP_PROT_H
+#include <rpcsvc/yp_prot.h>
+#endif
+
#ifdef HAVE_RPCSVC_YPCLNT_H
#include <rpcsvc/ypclnt.h>
#endif