Refactor perl code to write file header
[emu8051.git] / src / common.h
index cf4a634..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>
 #  include <strings.h>
 #endif
 
+#include "log.h"
+
 #define FIXED_FONT "monospace 12"
 
+#define MAX_FILENAME_LENGTH 1024
+
 /* Common constants. */
 #ifndef EXIT_SUCCESS
 #  define EXIT_SUCCESS 0