summaryrefslogtreecommitdiffhomepage
path: root/libs/lmo/src/lmo_lualib.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-11-21 23:26:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-11-21 23:26:30 +0000
commit72d1549e8ba39a5939b7df8c4bc7beba7f7f1a18 (patch)
treef290f34f97684c4c699da0fcca2e60e8a1533e43 /libs/lmo/src/lmo_lualib.h
parent838c82fa9ea254c754f75f731c7698c82fa236e4 (diff)
libs/lmo: canonize key strings before hashing them, fixes missing translations for original strings with line breaks or white spaces embedded
Diffstat (limited to 'libs/lmo/src/lmo_lualib.h')
-rw-r--r--libs/lmo/src/lmo_lualib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/lmo/src/lmo_lualib.h b/libs/lmo/src/lmo_lualib.h
index 6435117334..887889d045 100644
--- a/libs/lmo/src/lmo_lualib.h
+++ b/libs/lmo/src/lmo_lualib.h
@@ -1,7 +1,7 @@
/*
* lmo - Lua Machine Objects - Lua library header
*
- * Copyright (C) 2009 Jo-Philipp Wich <xm@subsignal.org>
+ * Copyright (C) 2009-2012 Jo-Philipp Wich <xm@subsignal.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,6 +22,7 @@
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
+#include <ctype.h>
#include "lmo.h"