aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-06-08 13:57:27 +0000
committerMatt Kraai <kraai@debian.org>2001-06-08 13:57:27 +0000
commit5246225596a45de63a994abbef92b7d23180681c (patch)
tree033a3b59246f0042fb11e2eec130f164cdda9425
parent04407e522b43c37198c8a821723950470d0919f5 (diff)
downloadbusybox-5246225596a45de63a994abbef92b7d23180681c.tar.gz
Add padding to struct sysinfo needed by m68k (note and patch by Richard
Hirst).
-rw-r--r--include/libbb.h1
-rw-r--r--libbb/libbb.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 31bd97f2e..f99d25780 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -190,6 +190,7 @@ struct sysinfo {
unsigned long totalswap; /* Total swap space size */
unsigned long freeswap; /* swap space still available */
unsigned short procs; /* Number of current processes */
+ unsigned short pad; /* Padding needed for m68k */
unsigned long totalhigh; /* Total high memory size */
unsigned long freehigh; /* Available high memory size */
unsigned int mem_unit; /* Memory unit size in bytes */
diff --git a/libbb/libbb.h b/libbb/libbb.h
index 31bd97f2e..f99d25780 100644
--- a/libbb/libbb.h
+++ b/libbb/libbb.h
@@ -190,6 +190,7 @@ struct sysinfo {
unsigned long totalswap; /* Total swap space size */
unsigned long freeswap; /* swap space still available */
unsigned short procs; /* Number of current processes */
+ unsigned short pad; /* Padding needed for m68k */
unsigned long totalhigh; /* Total high memory size */
unsigned long freehigh; /* Available high memory size */
unsigned int mem_unit; /* Memory unit size in bytes */