diff options
| author | Matthew D Fleming <mdf@FreeBSD.org> | 2011-12-31 20:46:35 +0000 |
|---|---|---|
| committer | Matthew D Fleming <mdf@FreeBSD.org> | 2011-12-31 20:46:35 +0000 |
| commit | eb45c65b3100345ccb4caf841075988a636790ca (patch) | |
| tree | 61e1a433778830b20571869c5c55b6a406ae80e9 /sys/dev/tws | |
| parent | 4c9510fe425f9d2575048640a43f3baa5732e900 (diff) | |
Notes
Diffstat (limited to 'sys/dev/tws')
| -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 cf9f7275f523..6d0f6ad01332 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 ---------------- */ |
