- u_char vers; /* protocol version */
- u_char type; /* request type, see below */
- u_char answer; /* not used */
- u_char pad;
- u_long id_num; /* message id */
- struct osockaddr addr; /* old (4.3) style */
- struct osockaddr ctl_addr; /* old (4.3) style */
- long pid; /* caller's process id */
+ unsigned char vers; /* protocol version */
+ unsigned char type; /* request type, see below */
+ unsigned char answer; /* not used */
+ unsigned char pad;
+#ifdef __LP64__
+ unsigned int id_num; /* message id */
+#else /* !__LP64__ */
+ unsigned long id_num; /* message id */
+#endif /* __LP64__ */
+ struct osockaddr addr; /* old (4.3) style */
+ struct osockaddr ctl_addr; /* old (4.3) style */
+#ifdef __LP64__
+ int pid; /* caller's process id */
+#else /* !__LP64__ */
+ long pid; /* caller's process id */
+#endif /* __LP64__ */