Changeset 2307

Show
Ignore:
Timestamp:
11/21/11 10:26:54 (18 months ago)
Author:
peter
Message:

Debian users report this fixes compilation on HURD (via Matthijs Möhlmann)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/misc.cc

    r2175 r2307  
    428428# define MAXHOSTNAMELEN 1025 
    429429#endif // WIN32 
     430#ifndef MAXHOSTNAMELEN 
     431# define MAXHOSTNAMELEN 255 
     432#endif 
    430433 
    431434  char tmp[MAXHOSTNAMELEN];