]> git.saurik.com Git - apple/libc.git/blobdiff - include/protocols/timed.h
Libc-594.9.5.tar.gz
[apple/libc.git] / include / protocols / timed.h
index c5abd01f1bd0b522723b547fef22d8239ad3a3d8..b628fc78ed84eeb46bcdeb6e9d89ee3346357c35 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000, 2006 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
 #define        TSPVERSION      1
 #define ANYADDR        NULL
 
+#ifdef __LP64__
+#define __need_struct_timeval32
+#include <sys/_structs.h>
+#endif /* __LP64__ */
+
 struct tsp {
        unsigned char   tsp_type;
        unsigned char   tsp_vers;
        unsigned short  tsp_seq;
        union {
+#ifdef __LP64__
+               struct timeval32 tspu_time;
+#else /* !__LP64__ */
                struct timeval tspu_time;
+#endif /* __LP64__ */
                char tspu_hopcnt;
        } tsp_u;
        char            tsp_name[MAXHOSTNAMELEN];