X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Ftypes.h;h=22790dc84d96cb511599da53ab68829df0ef1d6a;hb=63f41483ea7866802a7f6382c1d1b7135a1cd86a;hp=c8ab0efc85fac9471049ab5a6a15714fdd3e145c;hpb=ea933dd51bfca7ddcc6b75465476cce57afd1682;p=rocksndiamonds.git diff --git a/src/libgame/types.h b/src/libgame/types.h index c8ab0efc..22790dc8 100644 --- a/src/libgame/types.h +++ b/src/libgame/types.h @@ -17,6 +17,7 @@ #include #include #include +#include #include typedef unsigned char boolean; @@ -43,7 +44,7 @@ typedef unsigned char byte; #endif #ifndef SIGN -#define SIGN(a) ((a) < 0 ? -1 : ((a)>0 ? 1 : 0)) +#define SIGN(a) ((a) < 0 ? -1 : ((a) > 0 ? 1 : 0)) #endif #define SIZEOF_ARRAY(array, type) (sizeof(array) / sizeof(type))