summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/os/gen_rname.c
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-03-07 23:13:03 +0000
committerKeith Vetter <keithv@fusion.com>1995-03-07 23:13:03 +0000
commit7bfcaba07af807d42dbd9322a0f76f2c47f8209e (patch)
tree5fcbcbbc9e22ad169ac9a9637de57d07bee86725 /src/lib/krb5/os/gen_rname.c
parent02c30f8256578b347556043d340d4bfe49b921e3 (diff)
downloadkrb5-7bfcaba07af807d42dbd9322a0f76f2c47f8209e.tar.gz
krb5-7bfcaba07af807d42dbd9322a0f76f2c47f8209e.tar.xz
krb5-7bfcaba07af807d42dbd9322a0f76f2c47f8209e.zip
Port of most of the OS directory to the PC
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5079 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/os/gen_rname.c')
-rw-r--r--src/lib/krb5/os/gen_rname.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/krb5/os/gen_rname.c b/src/lib/krb5/os/gen_rname.c
index 59bd7dacac..d56bb9160a 100644
--- a/src/lib/krb5/os/gen_rname.c
+++ b/src/lib/krb5/os/gen_rname.c
@@ -25,15 +25,18 @@
* a replay cache tag string.
*/
+#define NEED_SOCKETS
#include "k5-int.h"
#include "os-proto.h"
#ifdef KRB5_USE_INET
#include <sys/types.h>
+#ifndef _WINSOCKAPI_
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
+#endif
-krb5_error_code
+krb5_error_code INTERFACE
krb5_gen_replay_name(context, address, uniq, string)
krb5_context context;
const krb5_address *address;