blob: 32056d413686bce5239bf8d07fcaf237649bec65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ak,v 1.2 2004/11/12 05:23:33 erh Exp $
--- 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
|