]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/portab/portab.h
Fixed handling of WHO commands
[ngircd-alex.git] / src / portab / portab.h
index cb00dfafc057f0798268a2a91efcc37d4eb84db0..90f36a0ea0e586e3b64f6aeb762f73ba7a5f4098 100644 (file)
@@ -9,7 +9,6 @@
  * Please read the file COPYING, README and AUTHORS for more information.
  */
 
-
 #ifndef __PORTAB__
 #define __PORTAB__
 
@@ -165,6 +164,10 @@ extern char * strtok_r PARAMS((char *str, const char *delim, char **saveptr));
 extern int vsnprintf PARAMS(( char *str, size_t count, const char *fmt, va_list args ));
 #endif
 
+#ifndef HAVE_GAI_STRERROR
+#define gai_strerror(r) "unknown error"
+#endif
+
 #ifndef PACKAGE_NAME
 #define PACKAGE_NAME PACKAGE
 #endif