summaryrefslogtreecommitdiff
path: root/misc/tmux/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tmux/patches/patch-ab')
-rw-r--r--misc/tmux/patches/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/tmux/patches/patch-ab b/misc/tmux/patches/patch-ab
new file mode 100644
index 00000000000..74051aa6383
--- /dev/null
+++ b/misc/tmux/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.3 2009/06/04 21:49:18 minskim Exp $
+
+--- compat/getopt.h.orig 2009-03-31 21:21:36.000000000 +0000
++++ compat/getopt.h
+@@ -33,7 +33,9 @@
+ #ifndef _GETOPT_H_
+ #define _GETOPT_H_
+
++#ifndef NO_CDEFS_H
+ #include <sys/cdefs.h>
++#endif
+
+ /*
+ * GNU-like getopt_long() and 4.4BSD getsubopt()/optreset extensions