* gpgkeys_hkp.c, gpgkeys_ldap.c: #include <getopt.h> if it is available.