summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl/lib/rand.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-31 14:13:15 +0000
committerKitware Robot <kwrobot@kitware.com>2023-01-31 09:13:24 -0500
commit1a5bc71c59c75e66e280b3f3f6bf1727b0e21c39 (patch)
tree53e9b7f3b2c51e2146500f550f51103df081ac6f /Utilities/cmcurl/lib/rand.c
parent4dc058270d47316a7779e03ab8e60d75820a86f5 (diff)
parent8443dfa94663531c8481611cc35b807c1cea2c75 (diff)
downloadcmake-1a5bc71c59c75e66e280b3f3f6bf1727b0e21c39.tar.gz
Merge topic 'update-curl'
8443dfa946 curl: Work around missing OpenSSL symbol on machine with LCC 1.23 f9f5957884 Merge branch 'upstream-curl' into update-curl dac458ddbf curl 2022-12-21 (c12fb3dd) 39dcf9469d curl: Update script to get curl 7.87.0 b2fe717a49 file: Avoid using deprecated curl progress callback 1cd38de47f ctest: Drop unnecessary use of deprecated CURLOPT_PUT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8131
Diffstat (limited to 'Utilities/cmcurl/lib/rand.c')
-rw-r--r--Utilities/cmcurl/lib/rand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmcurl/lib/rand.c b/Utilities/cmcurl/lib/rand.c
index 2e7e7e8238..a549624a86 100644
--- a/Utilities/cmcurl/lib/rand.c
+++ b/Utilities/cmcurl/lib/rand.c
@@ -27,10 +27,14 @@
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
#include <curl/curl.h>
#include "vtls/vtls.h"
#include "sendf.h"
+#include "timeval.h"
#include "rand.h"
/* The last 3 #include files should be in this order */