mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -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:
parent
96b3093519
commit
aaf6be8a36
@ -1,6 +1,7 @@
|
|||||||
#ifndef EL_DOM_STRING_H
|
#ifndef EL_DOM_STRING_H
|
||||||
#define EL_DOM_STRING_H
|
#define EL_DOM_STRING_H
|
||||||
|
|
||||||
|
#include "util/conv.h"
|
||||||
#include "util/memory.h"
|
#include "util/memory.h"
|
||||||
|
|
||||||
/* For now DOM has it's own little string library. Mostly because there are
|
/* For now DOM has it's own little string library. Mostly because there are
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#include "elinks.h"
|
#include "elinks.h"
|
||||||
|
|
||||||
#include "intl/gettext/loadinfo.h"
|
#include "intl/gettext/loadinfo.h"
|
||||||
|
#include "util/conv.h"
|
||||||
#include "util/string.h"
|
#include "util/string.h"
|
||||||
|
|
||||||
/* Awful hack to permit compilation under cygwin and its broken configure.
|
/* Awful hack to permit compilation under cygwin and its broken configure.
|
||||||
|
Loading…
Reference in New Issue
Block a user