From ab0eb099e9c0ed60d25fb50dd78d2a638d3b49b8 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 11 Dec 2001 22:04:21 +0000 Subject: [PATCH 1/1] - Test auf stdint.h (HAVE_STDINT_H) hinzugefuegt. --- configure.in | 11 ++++++++--- src/ngircd/ngircd.c | 15 +++++++++++---- 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 + +#ifdef HAVE_STDINT_H +#include +#endif + #include #include #include -#include #include #include #include -- 2.39.2