diff options
Diffstat (limited to 'test/regress_ws.c')
-rw-r--r-- | test/regress_ws.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/regress_ws.c b/test/regress_ws.c index df4a84e7..436cb627 100644 --- a/test/regress_ws.c +++ b/test/regress_ws.c @@ -58,10 +58,12 @@ #include "regress_http.h" #include "regress_ws.h" +#undef htonll #define htonll(x) \ ((1 == htonl(1)) \ ? (x) \ : ((uint64_t)htonl((x)&0xFFFFFFFF) << 32) | htonl((x) >> 32)) +#undef ntohll #define ntohll(x) htonll(x) |