allow building everything without local(tree external) header files beeing

used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2002-10-23 20:13:17 +00:00
parent 3bb5ee98f7
commit 9fc7164698
18 changed files with 54 additions and 68 deletions
+1 -2
View File
@@ -4,8 +4,7 @@
** Distributed under the terms of the OpenBeOS License.
*/
#include <sys/types.h>
#include <unistd.h>
// ToDo: there are some BeOS specific things missing, most
// things are only rarely or almost never used, though.
+9 -3
View File
@@ -11,10 +11,16 @@
#define NOFILE OPEN_MAX
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#ifndef MIN
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef MAX
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#endif
/* maximum possible length of this machine's hostname */
#define MAXHOSTNAMELEN 256
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 256
#endif
#endif /* _SYS_PARAM_H */
+1 -1
View File
@@ -3,7 +3,7 @@
#ifndef _SYS_UIO_H
#define _SYS_UIO_H
#include <ktypes.h>
#include <sys/types.h>
typedef struct iovec {
void *iov_base;