1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Bug 1004: Fix implicit declarations of c_* functions

Add #include directives to fix these errors:

      [CC]   src/intl/gettext/l10nflist.o
cc1: warnings being treated as errors
.../src/intl/gettext/l10nflist.c: In function ‘_nl_normalize_codeset’:
.../src/intl/gettext/l10nflist.c:352: error: implicit declaration of function ‘c_tolower’

      [CC]   src/dom/css/scanner.o
cc1: warnings being treated as errors
In file included from .../src/dom/scanner.h:4,
                 from .../src/dom/css/scanner.h:4,
                 from .../src/dom/css/scanner.c:12:
.../src/dom/string.h: In function ‘dom_string_casecmp’:
.../src/dom/string.h:34: error: implicit declaration of function ‘c_strncasecmp’
This commit is contained in:
Kalle Olavi Niemitalo 2008-11-01 20:40:00 +02:00 committed by Kalle Olavi Niemitalo
parent 96b3093519
commit aaf6be8a36
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#ifndef EL_DOM_STRING_H
#define EL_DOM_STRING_H
#include "util/conv.h"
#include "util/memory.h"
/* For now DOM has it's own little string library. Mostly because there are

View File

@ -35,6 +35,7 @@
#include "elinks.h"
#include "intl/gettext/loadinfo.h"
#include "util/conv.h"
#include "util/string.h"
/* Awful hack to permit compilation under cygwin and its broken configure.