mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
* subshell.c: Define _GNU_SOURCE to enable prototypes for
allocating pseudo-terminals on GNU systems.
This commit is contained in:
parent
7f448a4c2e
commit
d21f09608b
@ -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.
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user