aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 36e4c7f14..1d78dc6d2 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -244,4 +244,8 @@ typedef struct hostent Curl_addrinfo;
typedef struct in_addr Curl_ipconnect;
#endif
+#ifndef SIZEOF_CURL_OFF_T
+#define SIZEOF_CURL_OFF_T sizeof(curl_off_t)
+#endif
+
#endif /* __CONFIG_H */