summaryrefslogtreecommitdiff
path: root/mail/bincimap/files/patch-src_convert.h
blob: d239888ce61fd61a4b9cc4e1f49559e0c2459a9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/convert.h.orig	2005-02-08 20:30:22 UTC
+++ src/convert.h
@@ -43,6 +43,8 @@
 #include <iostream>
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <sys/stat.h>
 
 #include "address.h"
@@ -113,7 +113,7 @@ namespace Binc {
       unsigned char c = *i;
       unsigned char d = *(i + 1);
       
-      char *t;
+      const char *t;
       if ((t = strchr(hexchars, c)) == 0)
 	return "out of range";
       n = (t - hexchars) << 4;