diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-02-07 17:03:07 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-02-07 17:03:07 +0000 |
commit | 737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a (patch) | |
tree | c9e1fe80c2b2ef1a484277f96bf80b17296d45ae /options.c | |
parent | 0f91f0a71f073b5689ace6504cc62162e234ac79 (diff) | |
download | fetchmail-737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a.tar.gz fetchmail-737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a.tar.bz2 fetchmail-737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a.zip |
FreeBSD support.
svn path=/trunk/; revision=2376
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |