#include "config.h"
#include "fetchmail.h"
#include <stdio.h>
-#ifdef HAVE_RES_SEARCH
#include <string.h>
+#ifdef HAVE_RES_SEARCH
#ifdef HAVE_NET_SOCKET_H
#include <net/socket.h>
#endif
int main(int argc, char *argv[])
{
+#ifdef HAVE_RES_SEARCH
struct mxentry *responses;
+#endif
if (argc != 2 || 0 == strcmp(argv[1], "-h")) {
fprintf(stderr, "Usage: %s domain\n", argv[0]);