AC_SET_BUILDTOP
AC_HAVE_LIBRARY(socket)
AC_HAVE_LIBRARY(nsl)
+AC_HAVE_HEADERS(unistd.h)
KRB_INCLUDE
ISODE_INCLUDE
WITH_KRB5ROOT
#include <stdio.h>
#include <sys/types.h>
#include <netinet/in.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_generic.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_generic.h>
int argc;
char **argv;
{
- struct sockaddr_in saddr;
char *service_name;
u_short port = 4444;
int s;