* krb5.h: Move <sys/types> and u_long (etc) code to krb5/k5-config.h.
authorJohn Gilmore <gnu@toad.com>
Sat, 18 Mar 1995 03:15:52 +0000 (03:15 +0000)
committerJohn Gilmore <gnu@toad.com>
Sat, 18 Mar 1995 03:15:52 +0000 (03:15 +0000)
It is needed there when NEED_SOCKETS is defined.
* Makefile.in (all-mac, clean-mac):  Add.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5156 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/Makefile.in
src/include/krb5.h

index 58572cf5e0b40268ab2cc7e59145270966fb5928..973e71810d6f7db6e0ead268dafb734f9c808211 100644 (file)
@@ -1,3 +1,9 @@
+Fri Mar 17 19:10:41 1995  John Gilmore  (gnu at toad.com)
+
+       * krb5.h:  Move <sys/types> and u_long (etc) code to krb5/k5-config.h.
+       It is needed there when NEED_SOCKETS is defined.
+       * Makefile.in (all-mac, clean-mac):  Add.
+
 Wed Mar 15 20:27:57 1995 Keith Vetter (keithv@fusion.com)
 
        * Makefile.in: added recursion into krb5 for the PC.
index 85a4cf425bd45373f3f2168757592a9d3b0d5448..09e7c8961f26e5fc513d9850e0f03190b642de54 100644 (file)
@@ -4,6 +4,7 @@
 all:: all-$(WHAT)
 
 all-unix::
+all-mac::
 
 all-windows::
        copy $(BUILDTOP)\util\et\com_err.h .
@@ -15,6 +16,7 @@ all-windows::
 clean:: clean-$(WHAT)
 
 clean-unix::
+clean-mac::
 
 clean-windows::
        $(RM) com_err.h
index 04fa06d34bd20bee4c1e093f228702459e1452e8..64ef7da220b041c676ce2af9840a545ee6031664 100644 (file)
 
 #include "k5-config.h"
 
-#ifndef KRB5_SYSTYPES__
-#define KRB5_SYSTYPES__
-
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#else /* HAVE_SYS_TYPES_H */
-typedef unsigned long  u_long;
-typedef unsigned int   u_int;
-typedef unsigned short u_short;
-typedef unsigned char  u_char;
-#endif /* HAVE_SYS_TYPES_H */
-#endif /* KRB5_SYSTYPES__ */
-
 #include "base-defs.h"
 #include "hostaddr.h"