summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-12-31 20:03:34 +0100
committerJan Engelhardt <jengelh@medozas.de>2009-12-31 20:04:38 +0100
commit297b7e9e843f1a7749f5fa144dd86c88d35536fb (patch)
tree693ce066108871e31822c150ad2904a0e110820a
parenta55764ceef83086d00b5f7b8b3027b517fc4ca23 (diff)
downloadsilo-297b7e9e843f1a7749f5fa144dd86c88d35536fb.tar.gz
second: fix compile errors due to unknown types
gcc -m32 -Os -Wall -I. -I../include -fomit-frame-pointer -fno-strict-aliasing -DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000 -fno-stack-protector -DTFTP -c -o mainnet.o main.c In file included from ../include/ext2fs/ext2fs.h:77, from ./file.h:23, from file.c:23: ../include/ext2fs/ext2_io.h:39: error: expected declaration specifiers or '...' before 'size_t' Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r--second/file.c1
-rw-r--r--second/ls.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/second/file.c b/second/file.c
index 87b0066..c7c1ed2 100644
--- a/second/file.c
+++ b/second/file.c
@@ -19,6 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
+#include <sys/types.h>
#include <silo.h>
#include <file.h>
#include <stringops.h>
diff --git a/second/ls.c b/second/ls.c
index 540c199..5848eaa 100644
--- a/second/ls.c
+++ b/second/ls.c
@@ -18,6 +18,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
+#include <sys/types.h>
#include <silo.h>
#include <stringops.h>