Skip Menu |

Subject: git commit

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.

(back ported from commit 613c62d689c31a325d51be88657dedd17af3cf81)
Author: Greg Hudson <>
Committer: Tom Yu <>
Commit: 98b8fddd856bbbacf351755ac03187550c4dd157
Branch: krb5-1.11
src/lib/krb5/krb/t_cc_config.c | 1 -
src/lib/krb5/krb/t_in_ccache.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)