[pisa-src] r1728 - trunk/test/ifaddr.c

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 19 Nov 2009 16:37:37 +0100

Author: biurrun
Date: Thu Nov 19 16:37:36 2009
New Revision: 1728

Log:
Add #include for sys/socket.h, necessary for struct sockaddr.
This fixes compilation on Mac OS X.

Modified:
   trunk/test/ifaddr.c

Modified: trunk/test/ifaddr.c
==============================================================================
--- trunk/test/ifaddr.c Thu Nov 19 16:28:30 2009        (r1727)
+++ trunk/test/ifaddr.c Thu Nov 19 16:37:36 2009        (r1728)
@@ -10,6 +10,7 @@
 #include <string.h>
 #include <ctype.h>
 #include <errno.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <sys/ioctl.h>
 #include <netinet/in.h>

Other related posts:

  • » [pisa-src] r1728 - trunk/test/ifaddr.c - Diego Biurrun