1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 18:00:28 +00:00

ZeroConf: include header files missing since commit a988bbc86a

This commit is contained in:
Alexander Barton 2010-10-25 00:17:46 +02:00
parent 8288878122
commit 0c0cac641d

View File

@ -1,6 +1,6 @@
/* /*
* ngIRCd -- The Next Generation IRC Daemon * ngIRCd -- The Next Generation IRC Daemon
* Copyright (c)2001-2004 by Alexander Barton (alex@barton.de) * Copyright (c)2001-2010 by Alexander Barton (alex@barton.de)
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -21,8 +21,6 @@
#ifdef ZEROCONF #ifdef ZEROCONF
static char UNUSED id[] = "$Id: rendezvous.c,v 1.8 2006/05/10 21:24:01 alex Exp $";
#include "imp.h" #include "imp.h"
#include <assert.h> #include <assert.h>
@ -43,6 +41,8 @@ static char UNUSED id[] = "$Id: rendezvous.c,v 1.8 2006/05/10 21:24:01 alex Exp
#endif #endif
#include "defines.h" #include "defines.h"
#include "conn.h"
#include "conf.h"
#include "log.h" #include "log.h"
#include "exp.h" #include "exp.h"
@ -152,7 +152,7 @@ GLOBAL bool Rendezvous_Register( char *Name, char *Type, UINT16 Port )
int i; int i;
if (Conf_NoZeroConf) if (Conf_NoZeroConf)
return; return true;
/* Search free port structure */ /* Search free port structure */
for( i = 0; i < MAX_RENDEZVOUS; i++ ) if( ! My_Rendezvous[i].Desc[0] ) break; for( i = 0; i < MAX_RENDEZVOUS; i++ ) if( ! My_Rendezvous[i].Desc[0] ) break;