diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/global.h | 14 | ||||
| -rw-r--r-- | src/ngircd/ngircd.c | 9 |
2 files changed, 15 insertions, 8 deletions
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 <arpa/inet.h> 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 <portab.h> #include "global.h" |