about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2001-12-11 22:04:21 +0000
committerAlexander Barton <alex@barton.de>2001-12-11 22:04:21 +0000
commitab0eb099e9c0ed60d25fb50dd78d2a638d3b49b8 (patch)
tree6187722f664863ee64c729600b8e93fe840eff06
parentf4ade537d550b872b7e86e6ffce940dfbad4c60c (diff)
downloadngircd-ab0eb099e9c0ed60d25fb50dd78d2a638d3b49b8.tar.gz
ngircd-ab0eb099e9c0ed60d25fb50dd78d2a638d3b49b8.zip
- Test auf stdint.h (HAVE_STDINT_H) hinzugefuegt.
-rw-r--r--configure.in11
-rw-r--r--src/ngircd/ngircd.c15
2 files changed, 19 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index aeda6863..a84198ec 100644
--- a/configure.in
+++ b/configure.in
@@ -9,11 +9,14 @@
 # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
 # der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
 #
-# $Id: configure.in,v 1.1 2001/12/11 21:53:04 alex Exp $
+# $Id: configure.in,v 1.2 2001/12/11 22:04:21 alex Exp $
 #
 # $Log: configure.in,v $
-# Revision 1.1  2001/12/11 21:53:04  alex
-# Initial revision
+# Revision 1.2  2001/12/11 22:04:21  alex
+# - Test auf stdint.h (HAVE_STDINT_H) hinzugefuegt.
+#
+# Revision 1.1.1.1  2001/12/11 21:53:04  alex
+# Imported sources to CVS.
 #
 
 # -- Initialisierung --
@@ -48,6 +51,8 @@ AC_CHECK_HEADER(exp.h,,AC_MSG_ERROR([Alex \"portability headers\" (portab.h an f
 
 AC_CHECK_HEADERS([netinet/in.h sys/socket.h],,[required C headers missing!])
 
+AC_CHECK_HEADERS([stdint.h])
+
 # -- Datentypen --
 
 # -- Funktionen --
diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c
index 80beaabb..e58e6047 100644
--- a/src/ngircd/ngircd.c
+++ b/src/ngircd/ngircd.c
@@ -9,13 +9,16 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: ngircd.c,v 1.1 2001/12/11 21:53:04 alex Exp $
+ * $Id: ngircd.c,v 1.2 2001/12/11 22:04:21 alex Exp $
  *
  * ngircd.c: Hier beginnt alles ;-)
  *
  * $Log: ngircd.c,v $
- * Revision 1.1  2001/12/11 21:53:04  alex
- * Initial revision
+ * Revision 1.2  2001/12/11 22:04:21  alex
+ * - Test auf stdint.h (HAVE_STDINT_H) hinzugefuegt.
+ *
+ * Revision 1.1.1.1  2001/12/11 21:53:04  alex
+ * Imported sources to CVS.
  *
  */
 
@@ -30,10 +33,14 @@
 #include "global.h"
 
 #include <imp.h>
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <assert.h>
 #include <errno.h>
 #include <signal.h>
-#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>