Minor compiliation-fixes

This commit is contained in:
Wichert Akkerman 1999-04-21 15:57:38 +00:00
parent d4d8e92b30
commit 8bc6cfd067
2 changed files with 2 additions and 8 deletions

8
file.c
View File

@ -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

2
mem.c
View File

@ -38,7 +38,7 @@
#endif
#if defined(LINUX) && defined(__i386__)
#include <linux/ldt.h>
#include <asm/ldt.h>
#endif
int