aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-30 01:34:04 +0000
committerYang Tse <yangsita@gmail.com>2009-04-30 01:34:04 +0000
commitdd50e5bdf286897b91b478f607f7487770b57a2d (patch)
tree6fa5fc3e3893ba1a76d972212252cd64ffab3830
parent504ecd5f7a47185c503d263dae1ff8d75b1a892d (diff)
Use 'unsigned int' instead of size_t attempting to avoid header inclusion
-rw-r--r--ares/Makefile.netware2
-rw-r--r--lib/Makefile.netware2
2 files changed, 2 insertions, 2 deletions
diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index 89fdf4c75..71cb242f5 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -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) >> $@
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index fe896d7a6..c1c2b251d 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -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) >> $@