mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
245e957635
commit
93f2680fe1
2 changed files with 16 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue