aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc32
1 files changed, 26 insertions, 6 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index aef2b8f..8b9d1ea 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Keys.cc,v 1.43 2004/06/07 11:46:04 rathnor Exp $ 22//$Id: Keys.cc,v 1.44 2004/08/31 15:26:38 rathnor Exp $
23 23
24 24
25#include "Keys.hh" 25#include "Keys.hh"
@@ -41,10 +41,26 @@
41#include <ctype.h> 41#include <ctype.h>
42#endif // HAVE_CTYPE_H 42#endif // HAVE_CTYPE_H
43 43
44#include <cstdio> 44#ifdef HAVE_CSTDIO
45#include <cstdlib> 45 #include <cstdio>
46#include <cerrno> 46#else
47#include <cstring> 47 #include <stdio.h>
48#endif
49#ifdef HAVE_CSTDLIB
50 #include <cstdlib>
51#else
52 #include <stdlib.h>
53#endif
54#ifdef HAVE_CERRNO
55 #include <cerrno>
56#else
57 #include <errno.h>
58#endif
59#ifdef HAVE_CSTRING
60 #include <cstring>
61#else
62 #include <string.h>
63#endif
48 64
49#ifdef HAVE_SYS_TYPES_H 65#ifdef HAVE_SYS_TYPES_H
50#include <sys/types.h> 66#include <sys/types.h>
@@ -69,7 +85,11 @@
69#include <iostream> 85#include <iostream>
70#include <fstream> 86#include <fstream>
71#include <vector> 87#include <vector>
72#include <cassert> 88#ifdef HAVE_CASSERT
89 #include <cassert>
90#else
91 #include <assert.h>
92#endif
73#include <memory> 93#include <memory>
74 94
75using namespace std; 95using namespace std;