diff options
Diffstat (limited to 'system/include/libc/getopt.h')
-rw-r--r-- | system/include/libc/getopt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/include/libc/getopt.h b/system/include/libc/getopt.h index ba8da4a7..dd21deb6 100644 --- a/system/include/libc/getopt.h +++ b/system/include/libc/getopt.h @@ -117,6 +117,12 @@ extern "C" }; + /* XXX Emscripten */ + #define NO_ARG 0 + #define REQ_ARG 1 + #define OPT_ARG 2 + typedef struct option option_t; + /* While getopt.h is a glibc extension, the following are newlib extensions. * They are optionally included via the __need_getopt_newlib flag. */ |