aboutsummaryrefslogtreecommitdiffstats
path: root/code/game/bg_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/game/bg_lib.h')
-rw-r--r--code/game/bg_lib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/code/game/bg_lib.h b/code/game/bg_lib.h
index d6deb60..70603d2 100644
--- a/code/game/bg_lib.h
+++ b/code/game/bg_lib.h
@@ -23,6 +23,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// compiled for the virtual machine
// This file is NOT included on native builds
+#ifndef BG_LIB_H
+#define BG_LIB_H
+
+#ifndef NULL
+#define NULL ((void *)0)
+#endif
typedef int size_t;
@@ -89,3 +95,4 @@ int abs( int n );
double fabs( double x );
double acos( double x );
+#endif // BG_LIB_H