Include sys/fcntl for O_WRONLY, etc

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11623 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2001-12-04 16:20:24 +00:00
parent a4faad69d5
commit 135fac0c74
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Dec 3 16:32:31 2001 Adam Fedor <fedor@yogi.doc.com>
* Source/GSHTTPURLHandle.m: Include sys/fcntl.h for O_WRONLY, etc
(on Solaris).
2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile: Add flags for SSL and rules to build bundle

View file

@ -22,6 +22,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
*/
#include "config.h"
#include <Foundation/NSArray.h>
#include <Foundation/NSString.h>
#include <Foundation/NSException.h>
@ -40,6 +41,10 @@
#include <unistd.h>
#include <sys/file.h>
#ifdef HAVE_SYS_FCNTL_H
#include <sys/fcntl.h> // For O_WRONLY, etc
#endif
static NSString *httpVersion = @"1.1";
char emp[64] = {