diff options
-rw-r--r-- | src/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index d0cdbda..6a142f7 100644 --- a/src/common.h +++ b/src/common.h @@ -12,4 +12,9 @@ # define unlikely(x) (x) #endif +/* Make printf() always available in debug builds */ +#ifdef DEBUG +# include <stdio.h> +#endif + #endif /* !ORYX_COMMON_H */ |