From b69e38d84c21bcbcf802952881642dda53bce5b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 23 Jul 2007 00:57:45 +0000 Subject: [PATCH] * 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 --- headers/build/HaikuBuildCompatibility.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/headers/build/HaikuBuildCompatibility.h b/headers/build/HaikuBuildCompatibility.h index c377ef70be..f50ae0160a 100644 --- a/headers/build/HaikuBuildCompatibility.h +++ b/headers/build/HaikuBuildCompatibility.h @@ -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 #include @@ -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