mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
FreeBSD build fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9076 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e1d6b74c9d
commit
117d5ce1a0
7 changed files with 166 additions and 93 deletions
|
@ -67,8 +67,12 @@
|
|||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <wchar.h>
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_WCHAR_H
|
||||
#include <wchar.h>
|
||||
#else
|
||||
typedef gsu32 wint_t;
|
||||
#endif
|
||||
#ifdef HAVE_UINTMAX_T
|
||||
#include <stdint.h>
|
||||
#else
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#ifdef __FreeBSD__
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#ifndef __MINGW__
|
||||
#include <sys/signal.h>
|
||||
#include <sys/param.h>
|
||||
|
@ -947,7 +950,7 @@ GSCheckTasks()
|
|||
#if HAVE_SETSID
|
||||
i = setsid();
|
||||
#endif
|
||||
#if TIOCNOTTY
|
||||
#ifdef TIOCNOTTY
|
||||
i = open("/dev/tty", O_RDWR);
|
||||
if (i >= 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue