* subshell.c: Define _GNU_SOURCE to enable prototypes for

allocating pseudo-terminals on GNU systems.
This commit is contained in:
Pavel Roskin 2001-05-17 00:47:51 +00:00
parent 7f448a4c2e
commit d21f09608b
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2001-05-16 Pavel Roskin <proski@gnu.org>
* subshell.c: Define _GNU_SOURCE to enable prototypes for
allocating pseudo-terminals on GNU systems.
* subshell.c (init_subshell_child): New function to initialize
child process and run subshell. Code moved from ...
(init_subshell): ... here.

View File

@ -24,6 +24,10 @@
/* {{{ Declarations */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
#include <stdio.h>
#include <stdlib.h> /* For errno, putenv, etc. */
#include <errno.h> /* For errno on SunOS systems */