]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
inet_pton.c needs switch.h for SWITCH_DECLARE
authorMathieu Rene <mrene@avgs.ca>
Wed, 10 Jun 2009 01:02:48 +0000 (01:02 +0000)
committerMathieu Rene <mrene@avgs.ca>
Wed, 10 Jun 2009 01:02:48 +0000 (01:02 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13743 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/inet_pton.c

index 501df0ff2f68cac5ba3923fcdf0cf4ccfdb1da86..0410dfae5041c4ac254e1b6173291c774bc70bd8 100644 (file)
@@ -45,6 +45,8 @@
 #define EAFNOSUPPORT    WSAEAFNOSUPPORT
 #endif
 
+#include <switch.h>
+
 /*
  * WARNING: Don't even consider trying to compile this on a system where
  * sizeof(int) < 4.  sizeof(int) > 4 is fine; all the world's not a VAX.