Add missing includes (in correct order) for open() on most OS, including Solaris.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37948 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2014-06-18 19:33:26 +00:00
parent 245e957635
commit 93f2680fe1
2 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2014-06-18 Riccardo Mottola <rm@gnu.org>
* Source/unix/NSStream.m
Add missing includes (in correct order) for open() on most OS,
including Solaris.
2014-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Fix buffer overrun.

View file

@ -22,7 +22,16 @@
*/
#import "common.h"
#include "common.h"
#include <sys/stat.h>
#include <sys/types.h>
#if defined(HAVE_FCNTL_H)
# include <fcntl.h>
#elif defined(HAVE_SYS_FCNTL_H)
# include <sys/fcntl.h>
#endif
#import "Foundation/NSData.h"
#import "Foundation/NSArray.h"