summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authordjm <djm>2001-09-18 05:05:20 +0000
committerdjm <djm>2001-09-18 05:05:20 +0000
commitc019f88a475e4784562e2dce2ef7fcc881c14901 (patch)
tree27a7ec8e4498cc497a6f5b672f108e9832067f8a /openbsd-compat
parent8280da292837dbe92fa82823058b31f84ac24024 (diff)
downloadopenssh-c019f88a475e4784562e2dce2ef7fcc881c14901.tar.gz
- (djm) Avoid warning on BSDgetopt
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/getopt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsd-compat/getopt.h b/openbsd-compat/getopt.h
index 08a4eb3e..9abdae8e 100644
--- a/openbsd-compat/getopt.h
+++ b/openbsd-compat/getopt.h
@@ -1,14 +1,14 @@
-/* $Id: getopt.h,v 1.3 2001/09/17 21:34:34 tim Exp $ */
+/* $Id: getopt.h,v 1.4 2001/09/18 05:05:21 djm Exp $ */
-#ifndef _GETOPT_H
-#define _GETOPT_H
+#ifndef _BSDGETOPT_H
+#define _BSDGETOPT_H
#include "config.h"
-#ifndef HAVE_GETOPT_H
+#if !defined(HAVE_GETOPT) || !defined(HAVE_GETOPT_OPTRESET)
int BSDgetopt(int argc, char * const *argv, const char *opts);
#endif
-#endif /* _GETOPT_H */
+#endif /* _BSDGETOPT_H */