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 --- a/src/utils.h Thu Dec 30 00:44:25 2010 +0000 1.2 +++ b/src/utils.h Thu Dec 30 00:45:13 2010 +0000 1.3 @@ -1,6 +1,8 @@ 1.4 #ifndef _UTILS_H 1.5 #define _UTILS_H 1.6 1.7 +#include <stdio.h> 1.8 + 1.9 #ifndef NDEBUG 1.10 /// Log a message to stderr 1.11 # define LOG(x, ...) do { fprintf(stderr, "%s:%d:%s(): " x "\n", __FILE__, __LINE__, __PRETTY_FUNCTION__, ##__VA_ARGS__); } while (0)