Browse Source

Bugfix: logging: Since we are inlining snprintf, stdio.h is needed

Luke Dashjr 12 years ago
parent
commit
bef0581d15
1 changed files with 2 additions and 0 deletions
  1. 2 0
      logging.h

+ 2 - 0
logging.h

@@ -2,7 +2,9 @@
 #define __LOGGING_H__
 #define __LOGGING_H__
 
 
 #include "config.h"
 #include "config.h"
+
 #include <stdbool.h>
 #include <stdbool.h>
+#include <stdio.h>
 #include <stdarg.h>
 #include <stdarg.h>
 
 
 #ifdef HAVE_SYSLOG_H
 #ifdef HAVE_SYSLOG_H