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:
fedor 2001-12-04 16:20:24 +00:00
parent bbcf4c1163
commit de9f118362
2 changed files with 10 additions and 0 deletions

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] = {