From 238c78807d0a18a534724b6b2fd8a395bee9643b Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Sun, 27 Oct 2002 01:01:04 +0000 Subject: merge from gcc --- include/getopt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/getopt.h') diff --git a/include/getopt.h b/include/getopt.h index da09cee3b..9495a4846 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -112,7 +112,9 @@ struct option errors, only prototype getopt for the GNU C library. */ extern int getopt (int argc, char *const *argv, const char *shortopts); #else +#ifndef __cplusplus extern int getopt (); +#endif /* __cplusplus */ #endif #endif /* !HAVE_DECL_GETOPT */ -- cgit v1.2.3