From 1ee28f024a0fe14dd16852bebd2f91829ed781b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 29 Jan 2006 17:45:52 +0000 Subject: [PATCH] Too more FreeBSD build fixes by Alexander Deynichenko. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16139 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/build/os/support/ByteOrder.h | 7 ++++++- src/build/libbe/storage/File.cpp | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/headers/build/os/support/ByteOrder.h b/headers/build/os/support/ByteOrder.h index 8969c70f6c..28c9ecf89d 100644 --- a/headers/build/os/support/ByteOrder.h +++ b/headers/build/os/support/ByteOrder.h @@ -4,11 +4,16 @@ #ifndef _sk_byte_order_h_ #define _sk_byte_order_h_ + #include -#include #include #include /* For convenience */ +#ifndef HAIKU_HOST_PLATFORM_FREEBSD +# include +#endif + + #ifdef __cplusplus extern "C" { #endif diff --git a/src/build/libbe/storage/File.cpp b/src/build/libbe/storage/File.cpp index 09f323060b..c4b2bba3f0 100644 --- a/src/build/libbe/storage/File.cpp +++ b/src/build/libbe/storage/File.cpp @@ -8,6 +8,7 @@ */ #include +#include #include #include