From 5e7164f87a7b65a4790b3b3e080664dabc8d50a4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 1 Apr 2007 07:51:30 +0000 Subject: Matt Kraai provided a patch that makes curl build on QNX 6 fine again. Mostly by letting configure check for setmode and ifdef on HAVE_SETMODE. NOTE: non- configure platforms that havve setmode() needs their hard-coded config.h files fixed. I fixed the src/config-win32.h. --- lib/strequal.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/strequal.c') diff --git a/lib/strequal.c b/lib/strequal.c index 1bff429a7..cb8767002 100644 --- a/lib/strequal.c +++ b/lib/strequal.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2006, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2007, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -26,6 +26,10 @@ #include #include +#ifdef HAVE_STRINGS_H +#include +#endif + #include "strequal.h" #if defined(HAVE_STRCASECMP) && defined(__STRICT_ANSI__) -- cgit v1.2.3