Refactor perl code to write file header
[emu8051.git] / src / common.h
index 2fa6dcc..0058a01 100644 (file)
@@ -22,9 +22,6 @@
 #ifndef COMMON_H
 #define COMMON_H 1
 
-/* Define this to have debugging output. */
-/* #define EMU8051_DEBUG 1 */
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
@@ -35,6 +32,8 @@
 #  include <strings.h>
 #endif
 
+#include "log.h"
+
 #define FIXED_FONT "monospace 12"
 
 #define MAX_FILENAME_LENGTH 1024