summaryrefslogtreecommitdiff
path: root/sysutils/mc/patches/patch-ak
blob: aeced3078635c062290cba63722484a35c48f31b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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