]> andersk Git - gssapi-openssh.git/blobdiff - openssh/openbsd-compat/fake-rfc2553.h
merged OpenSSH 4.2p1 to trunk
[gssapi-openssh.git] / openssh / openbsd-compat / fake-rfc2553.h
index fcf080564e6b95f3d60a66be6afef25e990e666c..9a9f756a27e4f98b21dc8e7d7664e4684e43ce01 100644 (file)
@@ -114,10 +114,16 @@ struct sockaddr_in6 {
 #endif /* !NI_MAXHOST */
 
 #ifndef EAI_NODATA
-# define EAI_NODATA    1
-# define EAI_MEMORY    2
-# define EAI_NONAME    3
-# define EAI_SYSTEM    4
+# define EAI_NODATA    (INT_MAX - 1)
+#endif
+#ifndef EAI_MEMORY
+# define EAI_MEMORY    (INT_MAX - 2)
+#endif
+#ifndef EAI_NONAME
+# define EAI_NONAME    (INT_MAX - 3)
+#endif
+#ifndef EAI_SYSTEM
+# define EAI_SYSTEM    (INT_MAX - 4)
 #endif
 
 #ifndef HAVE_STRUCT_ADDRINFO
This page took 0.03203 seconds and 4 git commands to generate.