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:
parent
3820698290
commit
3380da1e1f
@ -24,29 +24,25 @@
|
|||||||
// don't include that file
|
// don't include that file
|
||||||
|
|
||||||
#ifndef __BEOS__
|
#ifndef __BEOS__
|
||||||
|
# define dprintf build_platform_dprintf
|
||||||
#define _ERRORS_H
|
# include <stdio.h>
|
||||||
// don't include <Errors.h>, we use the platform <errno.h>
|
# undef dprintf
|
||||||
|
|
||||||
#define dprintf build_platform_dprintf
|
|
||||||
#include <stdio.h>
|
|
||||||
#undef dprintf
|
|
||||||
|
|
||||||
typedef struct dirent dirent_t;
|
typedef struct dirent dirent_t;
|
||||||
typedef struct iovec iovec;
|
typedef struct iovec iovec;
|
||||||
|
|
||||||
#else
|
#endif // __BEOS__
|
||||||
# define _BE_ERRNO_H_
|
|
||||||
// in this case, we want to use our Errors.h, not both :)
|
#include <errno.h>
|
||||||
// (this is defined by Dano/Zeta's be_errors.h header)
|
#ifndef _ERRORS_H
|
||||||
|
# define _ERRORS_H
|
||||||
|
// don't include <Errors.h>, we use the platform <errno.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.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>
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#ifndef TRACKER_H
|
#ifndef TRACKER_H
|
||||||
#define TRACKER_H
|
#define TRACKER_H
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
#include <AppDefs.h>
|
#include <AppDefs.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user