From 9c31c738fc566a8674fc8bb6a3e5f3aa5ba9ad94 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 4 May 2016 20:41:42 +0200 Subject: [PATCH] src: remove unused #include statement strcasecmp() is not used in src/node_http_parser.cc so there is no need to include its header file. PR-URL: https://github.com/nodejs/node/pull/6582 Reviewed-By: Anna Henningsen Reviewed-By: Fedor Indutny Reviewed-By: James M Snell --- src/node_http_parser.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc index c062feea535604..b094ce5f2fbac7 100644 --- a/src/node_http_parser.cc +++ b/src/node_http_parser.cc @@ -16,12 +16,6 @@ #include // free() #include // strdup() -#if defined(_MSC_VER) -#define strcasecmp _stricmp -#else -#include // strcasecmp() -#endif - // This is a binding to http_parser (https://github.com/joyent/http-parser) // The goal is to decouple sockets from parsing for more javascript-level // agility. A Buffer is read from a socket and passed to parser.execute().