diff options
author | benno <benno@FreeBSD.org> | 2001-06-10 02:08:36 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2001-06-10 02:08:36 +0000 |
commit | b7aa1a45b4088c67846bc31081b843ed0bb05b6c (patch) | |
tree | e70a6f4332c3ced65f5a86cdba2387809eb0e7a7 | |
parent | 79f5a0e9f07e6741c1cb62673b86a958adb17463 (diff) | |
download | FreeBSD-src-b7aa1a45b4088c67846bc31081b843ed0bb05b6c.zip FreeBSD-src-b7aa1a45b4088c67846bc31081b843ed0bb05b6c.tar.gz |
Changes to sys/ includes to support PowerPC.
Reviewed by: obrien, dfr
-rw-r--r-- | sys/sys/mount.h | 2 | ||||
-rw-r--r-- | sys/sys/user.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 0ffa243..28d0938 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -72,7 +72,7 @@ struct fid { */ #define MFSNAMELEN 16 /* length of fs type name, including null */ -#ifdef __i386__ +#if defined(__i386__) || defined(__powerpc__) #define MNAMELEN 80 /* length of buffer for returned name */ #endif #if defined(__alpha__) || defined(__ia64__) diff --git a/sys/sys/user.h b/sys/sys/user.h index 153ed2d..d89e39a 100644 --- a/sys/sys/user.h +++ b/sys/sys/user.h @@ -82,6 +82,9 @@ #ifdef __i386__ #define KINFO_PROC_SIZE 648 /* the correct size for kinfo_proc */ #endif +#ifdef __powerpc__ +#define KINFO_PROC_SIZE 656 +#endif #ifndef KINFO_PROC_SIZE #error "Unknown architecture" #endif |