aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-02-07 17:03:07 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-02-07 17:03:07 +0000
commit737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a (patch)
treec9e1fe80c2b2ef1a484277f96bf80b17296d45ae /options.c
parent0f91f0a71f073b5689ace6504cc62162e234ac79 (diff)
downloadfetchmail-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.c10
1 files changed, 5 insertions, 5 deletions
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