* Added a small intro to what this file is about.
* Added a socklen_t typedef. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21690 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
528e58c58e
commit
b69e38d84c
@ -1,6 +1,14 @@
|
||||
#ifndef HAIKU_BUILD_COMPATIBILITY_H
|
||||
#define HAIKU_BUILD_COMPATIBILITY_H
|
||||
|
||||
/*!
|
||||
This header is automatically included in all Haiku applications
|
||||
that are built for BeOS.
|
||||
It will make BeOS a bit more Haiku compatible, and slightly more
|
||||
POSIX compatible, too. It is supposed to keep the BeOS compatibility
|
||||
kludges in our source files at a minimum.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <SupportDefs.h>
|
||||
|
||||
@ -16,6 +24,8 @@
|
||||
typedef unsigned long haiku_build_addr_t;
|
||||
#define addr_t haiku_build_addr_t
|
||||
|
||||
typedef int socklen_t;
|
||||
|
||||
#ifndef DEFFILEMODE
|
||||
# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user