[krbdev.mit.edu #9102] git commit

"Greg Hudson via RT" <[email protected]> Mon, 24 Jun 2024 19:50:47 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9102 >


Eliminate sim_client include of getopt.h

Commit 9139a60c94c24e41109574e84e7cda9c2dc3fb38 added an unconditional
include of getopt.h, which is non-portable (it isn't present on HP-UX)
and unecessary for getopt().  The same commit also disabled the
include of unistd.h (which is necessary for getopt()), as sim_client
no longer indirectly includes autoconf.  Make the unistd.h include
unconditional and remove the getopt.h include.

[[email protected]: edited commit message]

(cherry picked from commit a6abaaf54925a4b63aff8c81da1a0af3a7c03466)

https://github.com/krb5/krb5/commit/8780d8831b07d2dc4348645de202e70424c5987e
Author: Michael Osipov <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: 8780d8831b07d2dc4348645de202e70424c5987e
Branch: krb5-1.21
 src/appl/simple/client/sim_client.c | 3 ---
 1 file changed, 3 deletions(-)