Do not include stropts.h for most OS's anymore.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@35480 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2012-08-30 09:08:26 +00:00
parent 8152e6b4ee
commit df3d681858
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-08-30 Riccardo Mottola <rm@gnu.org>
* Modules/Debuggers/ProjectCenter/PTYView.m
Do not include stropts.h for most OS's anymore.
2012-08-09 Riccardo Mottola <rm@gnu.org>
* English.lproj/ProjectCenter.gorm

View file

@ -42,9 +42,6 @@
#include <stdlib.h>
#include <string.h>
#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !(defined (__NetBSD__))
#include <stropts.h>
#endif
#ifndef NOTIFICATION_CENTER
#define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter]
@ -56,6 +53,11 @@
#define USE_FORKPTY_REPLACEMENT 1
#endif
#if defined(__SOLARIS__)
#include <stropts.h>
#endif
#if !(defined (__NetBSD__)) && !(defined (__SOLARIS__)) && !(defined (__OpenBSD__)) && !(defined(__FreeBSD__))
# include <pty.h>
#endif