diff options
author | Alin Gabriel Serdean <aserdean@ovn.org> | 2018-07-31 15:08:13 +0300 |
---|---|---|
committer | Alin Gabriel Serdean <aserdean@ovn.org> | 2018-08-01 22:23:13 +0300 |
commit | 7928d9fcf57b183c6ebfbdc759a8df879a7ae6e4 (patch) | |
tree | fbb11d0185550dc4201c64805a46127eda3704c4 /include | |
parent | c8efec6ef780c51d068fead07098a9ebbda231c2 (diff) | |
download | openvswitch-7928d9fcf57b183c6ebfbdc759a8df879a7ae6e4.tar.gz |
Add opterr and optopt to Windows headers
Until now we only had optind defined in the header.
Since we are using the BSD getopt variant add opterr and optopt.
Fixes: 3ec06ea9c668 ("ovn-nbctl: Initial support for daemon mode.")
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/windows/getopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/windows/getopt.h b/include/windows/getopt.h index 9b526ff73..fc43be868 100644 --- a/include/windows/getopt.h +++ b/include/windows/getopt.h @@ -33,7 +33,7 @@ #include <unistd.h> extern char *optarg; -extern int optind; +extern int optind, opterr, optopt; /* * Gnu like getopt_long() and BSD4.4 getsubopt()/optreset extensions |