Another small improvement to how things build as suggested by Ingo.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11631 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-03-09 14:43:42 +00:00
parent 3820698290
commit 3380da1e1f
2 changed files with 11 additions and 13 deletions

View File

@ -24,29 +24,25 @@
// don't include that file
#ifndef __BEOS__
#define _ERRORS_H
// don't include <Errors.h>, we use the platform <errno.h>
#define dprintf build_platform_dprintf
#include <stdio.h>
#undef dprintf
# define dprintf build_platform_dprintf
# include <stdio.h>
# undef dprintf
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 // __BEOS__
#include <errno.h>
#ifndef _ERRORS_H
# define _ERRORS_H
// don't include <Errors.h>, we use the platform <errno.h>
#endif
#include <dirent.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <time.h>

View File

@ -1,6 +1,8 @@
#ifndef TRACKER_H
#define TRACKER_H
#include "compat.h"
#include <SupportDefs.h>
#include <OS.h>
#include <AppDefs.h>