summaryrefslogtreecommitdiff
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-05-10 18:08:49 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-05-10 18:08:49 +1000
commit0abfb559e3f79d1f217773510d7626c3722aa3c1 (patch)
treeefa229344f4d6c47f0e9054f9b868c0ecaa7fd91 /openbsd-compat/openbsd-compat.h
parentccfdfceacb7e23d1479ed4cc91976c5ac6e23c56 (diff)
- (dtucker) [openbsd-compat/getopt.h openbsd-compat/getopt_long.c
openbsd-compat/openbsd-compat.h] pull in getopt.h from openbsd and plumb in to use it when we're using our own getopt.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index a8c579f49..94d172aaa 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -1,4 +1,4 @@
1/* $Id: openbsd-compat.h,v 1.55 2013/02/15 01:20:42 dtucker Exp $ */ 1/* $Id: openbsd-compat.h,v 1.56 2013/05/10 08:08:49 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved. 4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@@ -139,6 +139,7 @@ int getgrouplist(const char *, gid_t, gid_t *, int *);
139 139
140#if !defined(HAVE_GETOPT) || !defined(HAVE_GETOPT_OPTRESET) 140#if !defined(HAVE_GETOPT) || !defined(HAVE_GETOPT_OPTRESET)
141int BSDgetopt(int argc, char * const *argv, const char *opts); 141int BSDgetopt(int argc, char * const *argv, const char *opts);
142#include "openbsd-compat/getopt.h"
142#endif 143#endif
143 144
144#if defined(HAVE_DECL_WRITEV) && HAVE_DECL_WRITEV == 0 145#if defined(HAVE_DECL_WRITEV) && HAVE_DECL_WRITEV == 0