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

@@ -90,7 +90,7 @@ dist_libkadm5srv_la_SOURCES = \
kadm5-pwcheck.h \ kadm5-pwcheck.h \
admin.h admin.h
LIBKADM5CLNT_OBJs= \ LIBKADM5CLNT_OBJS= \
$(OBJ)\ad.obj \ $(OBJ)\ad.obj \
$(OBJ)\chpass_c.obj \ $(OBJ)\chpass_c.obj \
$(OBJ)\client_glue.obj \ $(OBJ)\client_glue.obj \
@@ -159,7 +159,8 @@ $(OBJ)\kadm5-private.h: $(dist_libkadm5srv_la_SOURCES) $(dist_libkadm5clnt_la_SO
$(OBJ)\iprop-commands.c $(OBJ)\iprop-commands.h: iprop-commands.in $(OBJ)\iprop-commands.c $(OBJ)\iprop-commands.h: iprop-commands.in
cd $(OBJ) cd $(OBJ)
$(BINDIR)\slc.exe $(SRCDIR)\iprop-commands.in $(CP) $(SRCDIR)\iprop-commands.in $(OBJ)
$(BINDIR)\slc.exe iprop-commands.in
cd $(SRCDIR) cd $(SRCDIR)
$(OBJ)\kadm5_err.h $(OBJ)kadm5_err.c: kadm5_err.et $(OBJ)\kadm5_err.h $(OBJ)kadm5_err.c: kadm5_err.et

View File

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