]> git.meshlink.io Git - meshlink/blobdiff - src/fake-gai-errnos.h
Avoid allocating packet buffers unnecessarily.
[meshlink] / src / fake-gai-errnos.h
index 2f41d8f03cd68e890882b81444954c75d88e2f96..5ec371ca24c123410503d453faaa9360cdc249b8 100644 (file)
@@ -1,11 +1,6 @@
-/*
- * fake library for ssh
- *
- * This file is included in getaddrinfo.c and getnameinfo.c.
- * See getaddrinfo.c and getnameinfo.c.
- */
+#ifndef MESHLINK_FAKE_GAI_ERRNOS_H
+#define MESHLINK_FAKE_GAI_ERRNOS_H
 
-/* for old netdb.h */
 #ifndef EAI_NODATA
 #define EAI_NODATA 1
 #endif
@@ -21,3 +16,5 @@
 #ifndef EAI_SYSTEM
 #define EAI_SYSTEM 4
 #endif
+
+#endif