diff options
-rw-r--r-- | tools/lib/subcmd/parse-options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/subcmd/parse-options.h b/tools/lib/subcmd/parse-options.h index 13a2cc1d6140..d60cab2726da 100644 --- a/tools/lib/subcmd/parse-options.h +++ b/tools/lib/subcmd/parse-options.h | |||
@@ -4,6 +4,10 @@ | |||
4 | #include <stdbool.h> | 4 | #include <stdbool.h> |
5 | #include <stdint.h> | 5 | #include <stdint.h> |
6 | 6 | ||
7 | #ifndef NORETURN | ||
8 | #define NORETURN __attribute__((__noreturn__)) | ||
9 | #endif | ||
10 | |||
7 | enum parse_opt_type { | 11 | enum parse_opt_type { |
8 | /* special types */ | 12 | /* special types */ |
9 | OPTION_END, | 13 | OPTION_END, |