]> granicus.if.org Git - strace/commitdiff
Minor compiliation-fixes
authorWichert Akkerman <wichert@deephackmode.org>
Wed, 21 Apr 1999 15:57:38 +0000 (15:57 +0000)
committerWichert Akkerman <wichert@deephackmode.org>
Wed, 21 Apr 1999 15:57:38 +0000 (15:57 +0000)
file.c
mem.c

diff --git a/file.c b/file.c
index 449077d7f69352e024f29bcdecf49a1aa8398f45..b47efc204c9aefb7d4070aca3b2f28350f3a868b 100644 (file)
--- a/file.c
+++ b/file.c
 
 #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 ed0599dc92955b03595b0309c04335bc5ecf60b1..730761631644e69c4061f7897da3fa0ad7722356 100644 (file)
--- 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