diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-04-01 07:51:30 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-04-01 07:51:30 +0000 |
commit | 5e7164f87a7b65a4790b3b3e080664dabc8d50a4 (patch) | |
tree | fe1d1a6e07225fe0d99dd7364e8ed49f6aebb244 /lib/strequal.c | |
parent | ef10eaeb29e3a8a2ad92e10f44679e1298fce1d5 (diff) | |
download | curl-5e7164f87a7b65a4790b3b3e080664dabc8d50a4.tar.gz |
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.
Diffstat (limited to 'lib/strequal.c')
-rw-r--r-- | lib/strequal.c | 6 |
1 files changed, 5 insertions, 1 deletions
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, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, 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 <string.h> #include <ctype.h> +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif + #include "strequal.h" #if defined(HAVE_STRCASECMP) && defined(__STRICT_ANSI__) |