diff options
Diffstat (limited to 'sys/dev/tws/tws.h')
-rw-r--r-- | sys/dev/tws/tws.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/tws/tws.h b/sys/dev/tws/tws.h index cf9f727..6d0f6ad 100644 --- a/sys/dev/tws/tws.h +++ b/sys/dev/tws/tws.h @@ -205,7 +205,11 @@ struct tws_init_connect_info { /* ------------ boolean types ------------------- */ +#ifndef __bool_true_false_are_defined typedef enum _boolean { false, true } boolean; +#else +#define boolean bool +#endif enum err { SUCCESS, FAILURE }; /* ----------- per instance data ---------------- */ |