summaryrefslogtreecommitdiff
path: root/sysutils/mc/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/mc/patches/patch-ak')
-rw-r--r--sysutils/mc/patches/patch-ak14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/mc/patches/patch-ak b/sysutils/mc/patches/patch-ak
new file mode 100644
index 00000000000..aeced307863
--- /dev/null
+++ b/sysutils/mc/patches/patch-ak
@@ -0,0 +1,14 @@
+--- src/subshell.c.orig 2004-11-12 05:03:13.000000000 +0000
++++ src/subshell.c 2004-11-12 05:03:18.000000000 +0000
+@@ -63,7 +63,11 @@
+ #endif
+
+ #ifdef HAVE_GRANTPT
++# ifdef HAVE_STROPTS_H
+ # include <stropts.h> /* For I_PUSH */
++# else
++# include <stdlib.h>
++# endif
+ #else
+ # include <grp.h> /* For the group struct & getgrnam() */
+ #endif