Minor compiliation-fixes
diff --git a/file.c b/file.c
index 449077d..b47efc2 100644
--- a/file.c
+++ b/file.c
@@ -33,17 +33,11 @@
#include <dirent.h>
-#ifdef LINUXSPARC
+#ifdef linux
# include <asm/stat.h>
# define stat libc_stat
# include <sys/stat.h>
# undef stat
-#elif defined(linux)
-# define stat libc_stat
-# include <statbuf.h>
-# undef stat
-# include <asm/stat.h>
-# include <sys/stat.h>
#else
# include <sys/stat.h>
#endif
diff --git a/mem.c b/mem.c
index ed0599d..7307616 100644
--- a/mem.c
+++ b/mem.c
@@ -38,7 +38,7 @@
#endif
#if defined(LINUX) && defined(__i386__)
-#include <linux/ldt.h>
+#include <asm/ldt.h>
#endif
int