From 737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 7 Feb 1999 17:03:07 +0000 Subject: FreeBSD support. svn path=/trunk/; revision=2376 --- options.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 31150162..0832b892 100644 --- a/options.c +++ b/options.c @@ -128,10 +128,10 @@ static const struct option longoptions[] = { {"netsec", required_argument, (int *) 0, LA_NETSEC }, #endif /* INET6 */ -#if defined(linux) && !INET6 +#if (defined(linux) && !INET6) || defined(__FreeBSD__) {"interface", required_argument, (int *) 0, LA_INTERFACE }, {"monitor", required_argument, (int *) 0, LA_MONITOR }, -#endif /* defined(linux) && !INET6 */ +#endif /* (defined(linux) && !INET6) || defined(__FreeBSD__) */ {"plugin", required_argument, (int *) 0, LA_PLUGIN }, {"plugout", required_argument, (int *) 0, LA_PLUGOUT }, @@ -498,7 +498,7 @@ struct query *ctl; /* option record to be initialized */ #endif /* NET_SECURITY */ break; -#if defined(linux) && !INET6 +#if (defined(linux) && !INET6) || defined(__FreeBSD__) case 'I': case LA_INTERFACE: interface_parse(optarg, &ctl->server); @@ -507,7 +507,7 @@ struct query *ctl; /* option record to be initialized */ case LA_MONITOR: ctl->server.monitor = xstrdup(optarg); break; -#endif /* defined(linux) && !INET6 */ +#endif /* (defined(linux) && !INET6) || defined(__FreeBSD__) */ case LA_PLUGIN: ctl->server.plugin = xstrdup(optarg); break; @@ -565,7 +565,7 @@ struct query *ctl; /* option record to be initialized */ P(_(" -f, --fetchmailrc specify alternate run control file\n")); P(_(" -i, --idfile specify alternate UIDs file\n")); P(_(" --postmaster specify recipient of last resort\n")); -#if defined(linux) && !INET6 +#if (defined(linux) && !INET6) || defined(__FreeBSD__) P(_(" -I, --interface interface required specification\n")); P(_(" -M, --monitor monitor interface for activity\n")); #endif -- cgit v1.2.3