Thu, 30 Dec 2010 00:45:13 +0000
make utils.h include stdio (for LOG functions)
src/utils.h | file | annotate | diff | revisions |
1.1 diff -r 4e5d95fa96e1 -r 22198d0a7bef src/utils.h 1.2 --- a/src/utils.h Thu Dec 30 00:44:25 2010 +0000 1.3 +++ b/src/utils.h Thu Dec 30 00:45:13 2010 +0000 1.4 @@ -1,6 +1,8 @@ 1.5 #ifndef _UTILS_H 1.6 #define _UTILS_H 1.7 1.8 +#include <stdio.h> 1.9 + 1.10 #ifndef NDEBUG 1.11 /// Log a message to stderr 1.12 # define LOG(x, ...) do { fprintf(stderr, "%s:%d:%s(): " x "\n", __FILE__, __LINE__, __PRETTY_FUNCTION__, ##__VA_ARGS__); } while (0)