Fix #if _DECL_ definitions

This commit is contained in:
Love Hornquist Astrand
2009-09-19 16:32:23 -07:00
parent e94857ef33
commit 7b83dfbe72

View File

@@ -312,7 +312,7 @@ const char * ROKEN_LIB_FUNCTION hstrerror(int);
#endif
#endif
#if HAVE_DECL_H_ERRNO
#if !HAVE_DECL_H_ERRNO
extern int h_errno;
#endif
@@ -509,13 +509,13 @@ int ROKEN_LIB_FUNCTION get_window_size(int fd, struct winsize *);
void ROKEN_LIB_FUNCTION vsyslog(int, const char *, va_list);
#endif
#if HAVE_DECL_OPTARG
#if !HAVE_DECL_OPTARG
extern char *optarg;
#endif
#if HAVE_DECL_OPTIND
#if !HAVE_DECL_OPTIND
extern int optind;
#endif
#if HAVE_DECL_OPTERR
#if !HAVE_DECL_OPTERR
extern int opterr;
#endif