summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-02-28 20:01:56 -0500
committerSimo Sorce <simo@redhat.com>2013-03-14 13:42:45 -0400
commitdaafe38cf4461fe38e7e1a16284dcca8d145b2ec (patch)
tree7520bb5c2525a70fa254a38fc9549eac26c90252
parent4d53098bbd1df4bc7d6dc1924fd5096f5dba3b9c (diff)
downloadgss-proxy-daafe38cf4461fe38e7e1a16284dcca8d145b2ec.tar.gz
gss-proxy-daafe38cf4461fe38e7e1a16284dcca8d145b2ec.tar.xz
gss-proxy-daafe38cf4461fe38e7e1a16284dcca8d145b2ec.zip
Fix includes
These includes are necessary when switching to gssrpc because they are not automatically dragged in via dependencies in system rpc.h
-rw-r--r--proxy/src/client/gpm_common.c1
-rw-r--r--proxy/src/client/gssapi_gpm.h1
-rw-r--r--proxy/src/gp_conv.c1
-rw-r--r--proxy/src/gp_creds.c1
-rw-r--r--proxy/src/gp_export.c1
-rw-r--r--proxy/src/gp_rpc_process.h1
6 files changed, 6 insertions, 0 deletions
diff --git a/proxy/src/client/gpm_common.c b/proxy/src/client/gpm_common.c
index 8bd04d1..3d062b2 100644
--- a/proxy/src/client/gpm_common.c
+++ b/proxy/src/client/gpm_common.c
@@ -25,6 +25,7 @@
#include "gssapi_gpm.h"
#include <sys/types.h>
+#include <sys/un.h>
#include <unistd.h>
#include <stdlib.h>
#include <time.h>
diff --git a/proxy/src/client/gssapi_gpm.h b/proxy/src/client/gssapi_gpm.h
index c2d29fc..f82f37e 100644
--- a/proxy/src/client/gssapi_gpm.h
+++ b/proxy/src/client/gssapi_gpm.h
@@ -30,6 +30,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <errno.h>
+#include <string.h>
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_ext.h>
#include "rpcgen/gp_rpc.h"
diff --git a/proxy/src/gp_conv.c b/proxy/src/gp_conv.c
index a4b8fa0..f402ba7 100644
--- a/proxy/src/gp_conv.c
+++ b/proxy/src/gp_conv.c
@@ -24,6 +24,7 @@
*/
#include "config.h"
+#include <string.h>
#include <stdio.h>
#include <stdbool.h>
#include <errno.h>
diff --git a/proxy/src/gp_creds.c b/proxy/src/gp_creds.c
index f205a68..6ac5776 100644
--- a/proxy/src/gp_creds.c
+++ b/proxy/src/gp_creds.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <sys/socket.h>
#include <errno.h>
+#include <string.h>
#include <pwd.h>
#include <krb5/krb5.h>
#include <gssapi/gssapi_krb5.h>
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c
index ed0a8ab..5cee23c 100644
--- a/proxy/src/gp_export.c
+++ b/proxy/src/gp_export.c
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdbool.h>
#include <errno.h>
+#include <string.h>
#include "gp_conv.h"
#include "gp_export.h"
#include "gp_debug.h"
diff --git a/proxy/src/gp_rpc_process.h b/proxy/src/gp_rpc_process.h
index ef76d25..a0e8102 100644
--- a/proxy/src/gp_rpc_process.h
+++ b/proxy/src/gp_rpc_process.h
@@ -30,6 +30,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <errno.h>
+#include <string.h>
#include <gssapi/gssapi.h>
#include "gp_common.h"
#include "gp_conv.h"