Skip to content

Commit 60a1f00

Browse files
Support building httplib.h on OpenVMS x86 systems (#2031)
Modify for OpenVMS x86 C++. Make tests on OpenVMS currently not supported due to no cmake support. Changes tested on OpenVMS clang C++ and Fedora & GCC
1 parent 9104054 commit 60a1f00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

httplib.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ using socket_t = SOCKET;
218218
#include <csignal>
219219
#include <pthread.h>
220220
#include <sys/mman.h>
221-
#include <sys/select.h>
221+
#ifndef __VMS
222+
#include <sys/select.h>
223+
#endif
222224
#include <sys/socket.h>
223225
#include <sys/un.h>
224226
#include <unistd.h>

0 commit comments

Comments
 (0)