#define OPENLOG_OPTIONS ( LOG_PID | LOG_NOWAIT )
#endif
-
-/*
- * some systems don't have the BSD re_comp and re_exec routines
- */
-#ifndef NEED_BSDREGEX
-#if defined( SYSV ) || defined( VMS ) || defined( netbsd ) || defined( freebsd ) || defined( linux )
-#define NEED_BSDREGEX
-#endif
-#endif
-
/*
* many systems do not have the setpwfile() library routine... we just
* enable use for those systems we know have it.
* Are sys_errlist and sys_nerr declared in stdio.h?
*/
#ifndef SYSERRLIST_IN_STDIO
-#if defined( freebsd )
+#if defined( freebsd ) || defined( netbsd ) || \
+ defined( __GLIBC__ ) && ( __GLIBC__ > 1 )
#define SYSERRLIST_IN_STDIO
#endif
#endif