r7061: initial property settings
[ctsim.git] / getopt / getopt.h
index 7d3eb3c384727be4e7b21b87ffe4c0389bee6ae7..da0a54adc618e07f2abc19d0b7c79615e527c48e 100644 (file)
 
 #ifndef _GETOPT_H
 
+#ifdef HAVE_CONFIG_H
+#include "../config.h"
+#endif
+
 #ifndef __need_getopt
 # define _GETOPT_H 1
 #endif
@@ -152,15 +156,15 @@ extern int _getopt_internal (int __argc, char *const *__argv,
 #else /* not __STDC__ */
 extern int getopt ();
 # ifndef __need_getopt
-extern int getopt_long (int argc, char *const *argv, const char *shortopts,\r
-                       const struct option *longopts, int *longind);\r
-extern int getopt_long_only (int __argc, char *const *__argv,\r
-                            const char *__shortopts,\r
-                            const struct option *__longopts, int *__longind);\r
-extern int _getopt_internal (int __argc, char *const *__argv,\r
-                            const char *__shortopts,\r
-                            const struct option *__longopts, int *__longind,\r
-                            int __long_only);\r
+extern int getopt_long (int argc, char *const *argv, const char *shortopts,
+                       const struct option *longopts, int *longind);
+extern int getopt_long_only (int __argc, char *const *__argv,
+                            const char *__shortopts,
+                            const struct option *__longopts, int *__longind);
+extern int _getopt_internal (int __argc, char *const *__argv,
+                            const char *__shortopts,
+                            const struct option *__longopts, int *__longind,
+                            int __long_only);
 # endif
 #endif /* __STDC__ */