From cf623e08025ebed7542cfc829e70fa1b9ded4b08 Mon Sep 17 00:00:00 2001 From: Matt Ullman Date: Wed, 23 Mar 2016 22:51:03 -0400 Subject: [PATCH] authd: Fix windows build Replace stray NO with false --- authd/getaddrinfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/authd/getaddrinfo.c b/authd/getaddrinfo.c index e0524b35..43384c42 100644 --- a/authd/getaddrinfo.c +++ b/authd/getaddrinfo.c @@ -30,6 +30,7 @@ #ifdef _WIN32 #include #include "getaddrinfo.h" +#include "stdinc.h" static const char in_addrany[] = { 0, 0, 0, 0 }; static const char in_loopback[] = { 127, 0, 0, 1 }; @@ -187,7 +188,8 @@ str_isnumber(const char *p) char *ep; if (*p == '\0') - return NO; + return false; + ep = NULL; errno = 0; (void)strtoul(p, &ep, 10);