make utils.h include stdio (for LOG functions)

Thu, 30 Dec 2010 00:45:13 +0000

author
Philip Pemberton <philpem@philpem.me.uk>
date
Thu, 30 Dec 2010 00:45:13 +0000
changeset 89
22198d0a7bef
parent 88
4e5d95fa96e1
child 90
934ae2efdd01

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)