diff options
| author | Greg Hudson <ghudson@mit.edu> | 2014-03-28 12:33:43 -0400 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2014-03-28 15:51:55 -0400 |
| commit | 613c62d689c31a325d51be88657dedd17af3cf81 (patch) | |
| tree | 60304e54d353f715cfd7640abe982730188d10f5 /src/lib/krb5 | |
| parent | 92f76302fa249713ca461e5fe7fa8ea51467b2a3 (diff) | |
| download | krb5-613c62d689c31a325d51be88657dedd17af3cf81.tar.gz krb5-613c62d689c31a325d51be88657dedd17af3cf81.tar.xz krb5-613c62d689c31a325d51be88657dedd17af3cf81.zip | |
Get getopt from unistd.h (not getopt.h) in tests
POSIX defines getopt to be declared in unistd.h, and HP-UX (as of
version 11.31) does not appear to have getopt.h. In test programs
which currently include getopt.h and aren't currently built on
Windows, include unistd.h or just assume we will get it via k5-int.h.
ticket: 7894 (new)
target_version: 1.12.2
tags: pullup
Diffstat (limited to 'src/lib/krb5')
| -rw-r--r-- | src/lib/krb5/krb/t_cc_config.c | 1 | ||||
| -rw-r--r-- | src/lib/krb5/krb/t_in_ccache.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/t_cc_config.c b/src/lib/krb5/krb/t_cc_config.c index 156a5b5d9..51d1ef5a3 100644 --- a/src/lib/krb5/krb/t_cc_config.c +++ b/src/lib/krb5/krb/t_cc_config.c @@ -37,7 +37,6 @@ #include <k5-int.h> #include "int-proto.h" -#include <getopt.h> static void bail_on_err(krb5_context context, const char *msg, krb5_error_code code) diff --git a/src/lib/krb5/krb/t_in_ccache.c b/src/lib/krb5/krb/t_in_ccache.c index 30b7f281a..0bb203fe5 100644 --- a/src/lib/krb5/krb/t_in_ccache.c +++ b/src/lib/krb5/krb/t_in_ccache.c @@ -36,7 +36,6 @@ */ #include "k5-int.h" -#include <getopt.h> static void bail_on_err(krb5_context context, const char *msg, krb5_error_code code) |
