aboutsummaryrefslogtreecommitdiffstats
path: root/tileserver/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'tileserver/base64.h')
-rw-r--r--tileserver/base64.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tileserver/base64.h b/tileserver/base64.h
index 13acd356c..3c61cabc3 100644
--- a/tileserver/base64.h
+++ b/tileserver/base64.h
@@ -5,16 +5,20 @@
* Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
* Email: chris@mysociety.org; WWW: http://www.mysociety.org/
*
- * $Id: base64.h,v 1.1 2006-09-20 10:25:14 chris Exp $
+ * $Id: base64.h,v 1.2 2006-09-20 13:22:58 chris Exp $
*
*/
#ifndef __BASE64_H_ /* include guard */
#define __BASE64_H_
+#include <sys/types.h>
+
+#include <stdbool.h>
+
/* base64.c */
char *base64_encode(const void *in, const size_t inlen, char *out,
- const bool b64ish, const boolnopad);
+ const bool b64ish, const bool nopad);
size_t base64_decode(const char *in, void *out, size_t *outlen,
const bool b64ish);