author | Michael Krelin @devel <hacker@klever.net> | 2009-03-11 20:05:54 (UTC) |
---|---|---|
committer | Michael Krelin @devel <hacker@klever.net> | 2009-03-11 20:05:54 (UTC) |
commit | f1eed2b661d43b7e39e1aea16d9453a538206564 (patch) (unidiff) | |
tree | 7f340d0294baecd1e8719026f16b71000ca4712d /src/util.cc | |
parent | f4db51309c0333434d9ee96bc52593dacab04c69 (diff) | |
download | kingate-f1eed2b661d43b7e39e1aea16d9453a538206564.zip kingate-f1eed2b661d43b7e39e1aea16d9453a538206564.tar.gz kingate-f1eed2b661d43b7e39e1aea16d9453a538206564.tar.bz2 |
missing headers for gcc 4.3
-rw-r--r-- | src/util.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cc b/src/util.cc index 48e486a..82a4a0a 100644 --- a/src/util.cc +++ b/src/util.cc | |||
@@ -1,12 +1,14 @@ | |||
1 | #include <cstdlib> | ||
2 | #include <cstring> | ||
1 | #include "kingate/util.h" | 3 | #include "kingate/util.h" |
2 | #include "kingate/exception.h" | 4 | #include "kingate/exception.h" |
3 | 5 | ||
4 | namespace kingate { | 6 | namespace kingate { |
5 | 7 | ||
6 | static const char *safeChars = | 8 | static const char *safeChars = |
7 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | 9 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
8 | "abcdefghijklmnopqrstuvwxyz" | 10 | "abcdefghijklmnopqrstuvwxyz" |
9 | "0123456789" | 11 | "0123456789" |
10 | "_-" ; | 12 | "_-" ; |
11 | 13 | ||
12 | string url_encode(const string& str) { | 14 | string url_encode(const string& str) { |