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:
jagapen 2001-02-09 06:58:38 +00:00
parent 2bfbccbe09
commit ae034e342b
7 changed files with 166 additions and 93 deletions

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