diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-30 13:58:21 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-30 13:58:21 -0700 |
| commit | d11d2acb55d6c5cdc02281346c394aef42a4fbc1 (patch) | |
| tree | 385a956bceef50f333585df4dd0d5b6955aacc26 /tests/httpserver.c | |
| parent | bcbb36cd4fee89ba86dc1028b9f4de928d361abe (diff) | |
| download | nng-d11d2acb55d6c5cdc02281346c394aef42a4fbc1.tar.gz nng-d11d2acb55d6c5cdc02281346c394aef42a4fbc1.tar.bz2 nng-d11d2acb55d6c5cdc02281346c394aef42a4fbc1.zip | |
Fix warning in Windows build.
Diffstat (limited to 'tests/httpserver.c')
| -rw-r--r-- | tests/httpserver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/httpserver.c b/tests/httpserver.c index 9898a0ff..9fefe1f7 100644 --- a/tests/httpserver.c +++ b/tests/httpserver.c @@ -11,7 +11,9 @@ #include "convey.h" #include "trantest.h" -#ifndef _WIN32 +#ifdef _WIN32 +#define strdup _strdup +#else #include <arpa/inet.h> #endif |
