mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-11 05:49:18 +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>
|
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
|
* subshell.c (init_subshell_child): New function to initialize
|
||||||
child process and run subshell. Code moved from ...
|
child process and run subshell. Code moved from ...
|
||||||
(init_subshell): ... here.
|
(init_subshell): ... here.
|
||||||
|
@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
/* {{{ Declarations */
|
/* {{{ Declarations */
|
||||||
|
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
|
# define _GNU_SOURCE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> /* For errno, putenv, etc. */
|
#include <stdlib.h> /* For errno, putenv, etc. */
|
||||||
#include <errno.h> /* For errno on SunOS systems */
|
#include <errno.h> /* For errno on SunOS systems */
|
||||||
|
Loading…
Reference in New Issue
Block a user