Following 87195f5, check_snmp doesn't build on OpenBSD. This is because it pulls in bits/getopt_core.h and bits/getopt_ext.h, which seem like they're possibly glibc-only headers. I'm not sure if they're actually required? Building check_snmp succeeds on OpenBSD if the lines are removed.