From a4832131bb8e41a631b4f3b568d396f852841674 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 12 Dec 2001 01:58:52 +0000 Subject: - Test auf socklen_t verbessert. --- src/ngircd/global.h | 14 +++++++++++--- src/ngircd/ngircd.c | 9 ++++----- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/ngircd/global.h b/src/ngircd/global.h index 5bb490f0..3834eb60 100644 --- a/src/ngircd/global.h +++ b/src/ngircd/global.h @@ -9,22 +9,30 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: global.h,v 1.1 2001/12/11 21:53:04 alex Exp $ + * $Id: global.h,v 1.2 2001/12/12 01:58:53 alex Exp $ * * global.h: Globaler Header, wir in jedes(!) Modul eingebunden. * * $Log: global.h,v $ - * Revision 1.1 2001/12/11 21:53:04 alex - * Initial revision + * Revision 1.2 2001/12/12 01:58:53 alex + * - Test auf socklen_t verbessert. * + * Revision 1.1.1.1 2001/12/11 21:53:04 alex + * Imported sources to CVS. */ #ifndef __global_h__ #define __global_h__ + #include "config.h" +#ifndef HAVE_socklen_t +#define socklen_t int /* u.a. fuer Mac OS X */ +#endif + + #endif diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index 67242a49..d9585720 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -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: ngircd.c,v 1.3 2001/12/12 01:40:39 alex Exp $ + * $Id: ngircd.c,v 1.4 2001/12/12 01:58:53 alex Exp $ * * ngircd.c: Hier beginnt alles ;-) * * $Log: ngircd.c,v $ + * Revision 1.4 2001/12/12 01:58:53 alex + * - Test auf socklen_t verbessert. + * * Revision 1.3 2001/12/12 01:40:39 alex * - ein paar mehr Kommentare; Variablennamen verstaendlicher gemacht. * - fehlenden Header ergaenz. @@ -24,15 +27,11 @@ * * Revision 1.1.1.1 2001/12/11 21:53:04 alex * Imported sources to CVS. - * */ #define PORTAB_CHECK_TYPES /* Prueffunktion einbinden, s.u. */ -#ifndef socklen_t -#define socklen_t int /* u.a. fuer Mac OS X */ -#endif #include #include "global.h" -- cgit 1.4.1