diff options
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r-- | tools/checkwps/checkwps.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index 10e505f006..c2cadc7444 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c | |||
@@ -39,11 +39,14 @@ bool debug_wps = true; | |||
39 | int wps_verbose_level = 0; | 39 | int wps_verbose_level = 0; |
40 | char *skin_buffer; | 40 | char *skin_buffer; |
41 | 41 | ||
42 | int errno; | 42 | const char *sim_root_dir = "."; |
43 | |||
44 | const struct settings_list *settings; | 43 | const struct settings_list *settings; |
45 | const int nb_settings = 0; | 44 | const int nb_settings = 0; |
46 | 45 | ||
46 | #ifdef SIMULATOR | ||
47 | #error beep beep | ||
48 | #endif | ||
49 | |||
47 | /* static endianness conversion */ | 50 | /* static endianness conversion */ |
48 | #define SWAP_16(x) ((typeof(x))(unsigned short)(((unsigned short)(x) >> 8) | \ | 51 | #define SWAP_16(x) ((typeof(x))(unsigned short)(((unsigned short)(x) >> 8) | \ |
49 | ((unsigned short)(x) << 8))) | 52 | ((unsigned short)(x) << 8))) |