]> granicus.if.org Git - curl/commitdiff
Use 'unsigned int' instead of size_t attempting to avoid header inclusion
authorYang Tse <yangsita@gmail.com>
Thu, 30 Apr 2009 01:34:04 +0000 (01:34 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 30 Apr 2009 01:34:04 +0000 (01:34 +0000)
ares/Makefile.netware
lib/Makefile.netware

index 89fdf4c75b2ba6d46ebac55f56e6550fee03129b..71cb242f50f4b83b96d14e9ce3a5dbdf6bbb7650 100644 (file)
@@ -425,7 +425,7 @@ ifeq ($(LIBARCH),CLIB)
        @echo $(DL)#define CARES_TYPEOF_ARES_SOCKLEN_T int$(DL) >> $@
        @echo $(DL)#define CARES_SIZEOF_ARES_SOCKLEN_T 4$(DL) >> $@
 else
-       @echo $(DL)#define CARES_TYPEOF_ARES_SOCKLEN_T size_t$(DL) >> $@
+       @echo $(DL)#define CARES_TYPEOF_ARES_SOCKLEN_T unsigned int$(DL) >> $@
        @echo $(DL)#define CARES_SIZEOF_ARES_SOCKLEN_T 4$(DL) >> $@
 endif
        @echo $(DL)#define CARES_SIZEOF_LONG 4$(DL) >> $@
index fe896d7a63ef588a39e953188c90c884101b31e3..c1c2b251dfe7b6ef5cb3d2eedf4c66eb408a1b2f 100644 (file)
@@ -619,7 +619,7 @@ $(CURL_INC)/curl/curlbuild.h: Makefile.netware FORCE
        @echo $(DL)#define __CURL_CURLBUILD_H$(DL) >> $@
 ifeq ($(LIBARCH),LIBC)
        @echo $(DL)#define CURL_SIZEOF_LONG 4$(DL) >> $@
-       @echo $(DL)#define CURL_TYPEOF_CURL_SOCKLEN_T size_t$(DL) >> $@
+       @echo $(DL)#define CURL_TYPEOF_CURL_SOCKLEN_T unsigned int$(DL) >> $@
        @echo $(DL)#define CURL_SIZEOF_CURL_SOCKLEN_T 4$(DL) >> $@
        @echo $(DL)#define CURL_TYPEOF_CURL_OFF_T long long$(DL) >> $@
        @echo $(DL)#define CURL_FORMAT_CURL_OFF_T "lld"$(DL) >> $@