]> git.sesse.net Git - pistorm/blobdiff - config_file/config_file.h
tidy up headers, remove extraneous duplicate decls
[pistorm] / config_file / config_file.h
index b19d80972f8227c52514cc4d30a7e50a9310d5d4..6880f0fcada497f7912ca1f9c3b62ee06dc2013a 100644 (file)
@@ -1,4 +1,9 @@
-#include "../m68k.h"
+#ifndef _CONFIG_FILE_H
+#define _CONFIG_FILE_H
+
+#include "m68k.h"
+
+#include <unistd.h>
 
 #define MAX_NUM_MAPPED_ITEMS 8
 #define SIZE_KILO 1024
@@ -93,3 +98,5 @@ int handle_mapped_write(struct emulator_config *cfg, unsigned int addr, unsigned
 int get_named_mapped_item(struct emulator_config *cfg, char *name);
 int get_mapped_item_by_address(struct emulator_config *cfg, uint32_t address);
 unsigned int get_int(char *str);
+
+#endif /* _CONFIG_FILE_H */