Get getopt from unistd.h (not getopt.h) in tests
authorGreg Hudson <ghudson@mit.edu>
Fri, 28 Mar 2014 16:33:43 +0000 (12:33 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 28 Mar 2014 19:51:55 +0000 (15:51 -0400)
commit613c62d689c31a325d51be88657dedd17af3cf81
tree60304e54d353f715cfd7640abe982730188d10f5
parent92f76302fa249713ca461e5fe7fa8ea51467b2a3
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
src/lib/krb5/krb/t_cc_config.c
src/lib/krb5/krb/t_in_ccache.c
src/tests/gssapi/t_enctypes.c
src/tests/responder.c