From 44f76e11259ef3770225dcc76dd8ee7957220e86 Mon Sep 17 00:00:00 2001 From: skidder Date: Wed, 24 Sep 2003 15:36:34 +0000 Subject: [PATCH] Make engine compile on Linux after Blas' macro claning --- src/burp/burp.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/burp/burp.h b/src/burp/burp.h index 9df66dcaa1..4797bb3c90 100644 --- a/src/burp/burp.h +++ b/src/burp/burp.h @@ -41,6 +41,10 @@ #include #endif +#ifdef HAVE_FCNTL_H +#include +#endif + static inline UCHAR* BURP_alloc(ULONG size){ return MISC_alloc_burp(size); } @@ -921,7 +925,7 @@ static const int MODE_READ = O_RDONLY; static const int MODE_WRITE = O_WRONLY | O_CREAT | O_TRUNC; # else static const int MODE_READ = O_RDONLY; -static const int MODE_WRITE = O_WRONLY | O_CREAT +static const int MODE_WRITE = O_WRONLY | O_CREAT; # endif #endif