Check the return value of fscanf() when reading a PID file.
[oweals/tinc.git] / lib / fake-gai-errnos.h
index cd82d457c1678d1809d60b590242c4e1a63248b8..c4213cfd496519a8a7d59e975f355d7b82559165 100644 (file)
@@ -5,11 +5,17 @@
  * See getaddrinfo.c and getnameinfo.c.
  */
 
-/* $Id: fake-gai-errnos.h,v 1.2 2003/08/24 20:38:20 guus Exp $ */
+/* $Id$ */
 
 /* for old netdb.h */
 #ifndef EAI_NODATA
 #define EAI_NODATA     1
+#endif
+
+#ifndef EAI_MEMORY
 #define EAI_MEMORY     2
+#endif
+
+#ifndef EAI_FAMILY
 #define EAI_FAMILY     3
 #endif