aboutsummaryrefslogtreecommitdiff
path: root/comms/hamlib/files/patch-include-config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'comms/hamlib/files/patch-include-config.h.in')
-rw-r--r--comms/hamlib/files/patch-include-config.h.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/comms/hamlib/files/patch-include-config.h.in b/comms/hamlib/files/patch-include-config.h.in
new file mode 100644
index 000000000000..0864d6cb07ab
--- /dev/null
+++ b/comms/hamlib/files/patch-include-config.h.in
@@ -0,0 +1,19 @@
+--- include/config.h.in.orig Mon Apr 19 22:16:14 2004
++++ include/config.h.in Mon Apr 19 22:16:43 2004
+@@ -388,16 +388,6 @@
+ extern "C" {
+ #endif
+
+-#ifndef HAVE_GETOPT
+-int getopt (int argc, char * const argv[], const char * optstring);
+-extern char * optarg;
+-extern int optind, opterr, optopt;
+-#endif
+-#ifndef HAVE_GETOPT_LONG
+-int getopt_long (int argc, char * const argv[], const char * optstring,
+- const struct option * longopts, int * longindex);
+-#endif
+-
+ #ifndef HAVE_USLEEP
+ int usleep(unsigned long usec); /* SUSv2 */
+ #endif