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:
Jonathan Gapen 2001-02-09 06:58:38 +00:00
parent e1d6b74c9d
commit 117d5ce1a0
7 changed files with 166 additions and 93 deletions

View file

@ -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

View file

@ -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)
{