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:
parent
fa900c88f7
commit
7f67a70cfe
|
@ -36,6 +36,8 @@
|
|||
dbg@be.com
|
||||
*/
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <memory.h>
|
||||
|
@ -51,7 +53,6 @@
|
|||
#include <KernelExport.h>
|
||||
#endif
|
||||
|
||||
#include "compat.h"
|
||||
#include "lock.h"
|
||||
#include "cache.h"
|
||||
|
||||
|
|
|
@ -35,27 +35,30 @@
|
|||
typedef struct dirent dirent_t;
|
||||
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
|
||||
|
||||
|
||||
#include <dirent.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __BEOS__
|
||||
#include <OS.h> /* for typedefs and prototypes */
|
||||
#include <image.h> /* for a few typedefs */
|
||||
#include <Drivers.h> /* for various ioctl structs, etc */
|
||||
#include <iovec.h> /* because we're boneheads sometimes */
|
||||
# include <OS.h> /* for typedefs and prototypes */
|
||||
# include <image.h> /* for a few typedefs */
|
||||
# include <Drivers.h> /* for various ioctl structs, etc */
|
||||
# include <iovec.h> /* because we're boneheads sometimes */
|
||||
#else
|
||||
#include <sys/uio.h>
|
||||
#include <image.h> /* for a few typedefs */
|
||||
#include <Drivers.h> /* for various ioctl structs, etc */
|
||||
# include <sys/uio.h>
|
||||
# include <image.h> /* for a few typedefs */
|
||||
# include <Drivers.h> /* for various ioctl structs, etc */
|
||||
#endif
|
||||
|
||||
#include <fs_attr.h>
|
||||
|
|
Loading…
Reference in New Issue