diff options
| author | Alexander Barton <alex@barton.de> | 2001-12-12 01:58:52 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2001-12-12 01:58:52 +0000 |
| commit | a4832131bb8e41a631b4f3b568d396f852841674 (patch) | |
| tree | e23e8d61060c848860291ef3b9d05eb03dd387ca /src | |
| parent | cdb247c6667b25d8e6c7a8f006deb2b617f4b9a7 (diff) | |
| download | ngircd-a4832131bb8e41a631b4f3b568d396f852841674.tar.gz ngircd-a4832131bb8e41a631b4f3b568d396f852841674.zip | |
- Test auf socklen_t verbessert.
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" |