Typos and fixes for init_c.c to not include stuff we don't have

This commit is contained in:
Asanka Herath
2009-09-01 16:33:33 -04:00
committed by Love Hornquist Astrand
parent 41afd0a139
commit aa058a6a63
2 changed files with 9 additions and 2 deletions

View File

@@ -33,9 +33,15 @@
#include "kadm5_locl.h"
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
RCSID("$Id$");