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:
@@ -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.
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user