summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/user.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/sys/user.h b/sys/sys/user.h
index 4843691456ac..9944c0d9de8f 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -74,9 +74,16 @@
*/
#ifdef __alpha__
#define KINFO_PROC_SIZE 912 /* the correct size for kinfo_proc */
-#else
+#endif
+#ifdef __ia64__
+#define KINFO_PROC_SIZE 888
+#endif
+#ifdef __i386__
#define KINFO_PROC_SIZE 648 /* the correct size for kinfo_proc */
#endif
+#ifndef KINFO_PROC_SIZE
+#error "Unknown architecture"
+#endif
#define WMESGLEN 8 /* size of returned wchan message */
#define MTXNAMELEN 8 /* size of returned mutex name */