Now builds under Dano/Zeta as well.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11619 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-03-08 12:44:03 +00:00
parent fa900c88f7
commit 7f67a70cfe
2 changed files with 14 additions and 10 deletions

View File

@ -36,6 +36,8 @@
dbg@be.com dbg@be.com
*/ */
#include "compat.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <memory.h> #include <memory.h>
@ -51,7 +53,6 @@
#include <KernelExport.h> #include <KernelExport.h>
#endif #endif
#include "compat.h"
#include "lock.h" #include "lock.h"
#include "cache.h" #include "cache.h"

View File

@ -35,27 +35,30 @@
typedef struct dirent dirent_t; typedef struct dirent dirent_t;
typedef struct iovec iovec; typedef struct iovec iovec;
#else
# define _BE_ERRNO_H_
// in this case, we want to use our Errors.h, not both :)
// (this is defined by Dano/Zeta's be_errors.h header)
#endif #endif
#include <dirent.h> #include <dirent.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <time.h> #include <time.h>
#ifdef __BEOS__ #ifdef __BEOS__
#include <OS.h> /* for typedefs and prototypes */ # include <OS.h> /* for typedefs and prototypes */
#include <image.h> /* for a few typedefs */ # include <image.h> /* for a few typedefs */
#include <Drivers.h> /* for various ioctl structs, etc */ # include <Drivers.h> /* for various ioctl structs, etc */
#include <iovec.h> /* because we're boneheads sometimes */ # include <iovec.h> /* because we're boneheads sometimes */
#else #else
#include <sys/uio.h> # include <sys/uio.h>
#include <image.h> /* for a few typedefs */ # include <image.h> /* for a few typedefs */
#include <Drivers.h> /* for various ioctl structs, etc */ # include <Drivers.h> /* for various ioctl structs, etc */
#endif #endif
#include <fs_attr.h> #include <fs_attr.h>