diff options
author | Matt Kraai <kraai@debian.org> | 2001-06-08 13:57:27 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-06-08 13:57:27 +0000 |
commit | 5246225596a45de63a994abbef92b7d23180681c (patch) | |
tree | 033a3b59246f0042fb11e2eec130f164cdda9425 | |
parent | 04407e522b43c37198c8a821723950470d0919f5 (diff) | |
download | busybox-w32-5246225596a45de63a994abbef92b7d23180681c.tar.gz busybox-w32-5246225596a45de63a994abbef92b7d23180681c.tar.bz2 busybox-w32-5246225596a45de63a994abbef92b7d23180681c.zip |
Add padding to struct sysinfo needed by m68k (note and patch by Richard
Hirst).
-rw-r--r-- | include/libbb.h | 1 | ||||
-rw-r--r-- | libbb/libbb.h | 1 |
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 { | |||
190 | unsigned long totalswap; /* Total swap space size */ | 190 | unsigned long totalswap; /* Total swap space size */ |
191 | unsigned long freeswap; /* swap space still available */ | 191 | unsigned long freeswap; /* swap space still available */ |
192 | unsigned short procs; /* Number of current processes */ | 192 | unsigned short procs; /* Number of current processes */ |
193 | unsigned short pad; /* Padding needed for m68k */ | ||
193 | unsigned long totalhigh; /* Total high memory size */ | 194 | unsigned long totalhigh; /* Total high memory size */ |
194 | unsigned long freehigh; /* Available high memory size */ | 195 | unsigned long freehigh; /* Available high memory size */ |
195 | unsigned int mem_unit; /* Memory unit size in bytes */ | 196 | 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 { | |||
190 | unsigned long totalswap; /* Total swap space size */ | 190 | unsigned long totalswap; /* Total swap space size */ |
191 | unsigned long freeswap; /* swap space still available */ | 191 | unsigned long freeswap; /* swap space still available */ |
192 | unsigned short procs; /* Number of current processes */ | 192 | unsigned short procs; /* Number of current processes */ |
193 | unsigned short pad; /* Padding needed for m68k */ | ||
193 | unsigned long totalhigh; /* Total high memory size */ | 194 | unsigned long totalhigh; /* Total high memory size */ |
194 | unsigned long freehigh; /* Available high memory size */ | 195 | unsigned long freehigh; /* Available high memory size */ |
195 | unsigned int mem_unit; /* Memory unit size in bytes */ | 196 | unsigned int mem_unit; /* Memory unit size in bytes */ |