mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
windows compile fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
60c4fc3a63
commit
0282c8146e
6 changed files with 25 additions and 22 deletions
|
@ -462,10 +462,10 @@ $(GNUSTEP_TARGET_DIR)/GNUstepBase/GSConfig.h
|
|||
|
||||
|
||||
ifeq ($(HAVE_INET_PTON), no)
|
||||
GNU_CFILES += inet_pton.c
|
||||
GNU_MFILES += inet_pton.m
|
||||
endif
|
||||
ifeq ($(HAVE_INET_NTOP), no)
|
||||
GNU_CFILES += inet_ntop.c
|
||||
GNU_MFILES += inet_ntop.m
|
||||
endif
|
||||
|
||||
# The Objective-C source files to be compiled
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
/* You should have included GSStream.h before this */
|
||||
|
||||
#include "GSNetwork.h"
|
||||
#import "GSNetwork.h"
|
||||
|
||||
typedef union {
|
||||
struct sockaddr s;
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
#if defined(__MINGW__)
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
#include <netdb.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "GSNetwork.h"
|
||||
#import "GSPrivate.h"
|
||||
#import "GSNetwork.h"
|
||||
|
||||
#if HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
|
@ -28,7 +28,8 @@
|
|||
#include <sys/param.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "GSNetwork.h"
|
||||
#import "GSPrivate.h"
|
||||
#import "GSNetwork.h"
|
||||
|
||||
#if HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
|
@ -26,24 +26,24 @@
|
|||
|
||||
#include "common.h"
|
||||
|
||||
#include "Foundation/NSObject.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSFileHandle.h"
|
||||
#include "GNUstepBase/GSFileHandle.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSRunLoop.h"
|
||||
#include "Foundation/NSNotification.h"
|
||||
#include "Foundation/NSHost.h"
|
||||
#include "Foundation/NSByteOrder.h"
|
||||
#include "Foundation/NSProcessInfo.h"
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSObject.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSFileHandle.h"
|
||||
#import "GNUstepBase/GSFileHandle.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSRunLoop.h"
|
||||
#import "Foundation/NSNotification.h"
|
||||
#import "Foundation/NSHost.h"
|
||||
#import "Foundation/NSByteOrder.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
|
||||
#include "../Tools/gdomap.h"
|
||||
#include "../GSNetwork.h"
|
||||
#include "../GSPrivate.h"
|
||||
#import "../Tools/gdomap.h"
|
||||
#import "../GSPrivate.h"
|
||||
#import "../GSNetwork.h"
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <fcntl.h>
|
||||
|
|
Loading…
Reference in a new issue