included; this works around an Ultrix bug where those headers
aren't protected against multiple inclusion.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10333
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Dec 11 23:28:07 1997 Tom Yu <tlyu@mit.edu>
+
+ * ftpd.c: Don't include netdb.h or sys/socket.h if krb.h is
+ included; this works around an Ultrix bug where those headers
+ aren't protected against multiple inclusion.
+
Thu Oct 16 01:23:41 1997 Tom Yu <tlyu@mit.edu>
* Makefile.in: Change LOCALINCLUDE and the link line to allow for
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#ifndef KRB5_KRB4_COMPAT
+/* krb.h gets this, and Ultrix doesn't protect vs multiple inclusion */
#include <sys/socket.h>
+#endif
#include <sys/wait.h>
#include <sys/file.h>
#include <shadow.h>
#endif
#include <setjmp.h>
+#ifndef KRB5_KRB4_COMPAT
+/* krb.h gets this, and Ultrix doesn't protect vs multiple inclusion */
#include <netdb.h>
+#endif
#include <errno.h>
#include <syslog.h>
#include <unistd.h>