]> arthur.barton.de Git - netatalk.git/commitdiff
Not all systems define AI_NUMERICSERV
authordidg <didg>
Tue, 8 Dec 2009 22:34:37 +0000 (22:34 +0000)
committerdidg <didg>
Tue, 8 Dec 2009 22:34:37 +0000 (22:34 +0000)
libatalk/dsi/dsi_tcp.c

index 795b80b98c48672cfb834f4cac394a4c8dd12ef3..35fc5bacfda3baad6ce0757ed916795fcb382373 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: dsi_tcp.c,v 1.24 2009-11-08 09:44:22 franklahm Exp $
+ * $Id: dsi_tcp.c,v 1.25 2009-12-08 22:34:37 didg Exp $
  *
  * Copyright (c) 1997, 1998 Adrian Sun (asun@zoology.washington.edu)
  * All rights reserved. See COPYRIGHT.
@@ -287,6 +287,11 @@ iflist_done:
     freeifacelist(start);
 }
 
+
+#ifndef AI_NUMERICSERV
+#define AI_NUMERICSERV 0
+#endif
+
 /* this needs to accept passed in addresses */
 int dsi_tcp_init(DSI *dsi, const char *hostname, const char *address,
                  const char *port, const int proxy)