]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: fix testsangomaboost compilation
authorArnaldo Pereira <arnaldo@sangoma.com>
Tue, 7 Dec 2010 16:18:38 +0000 (14:18 -0200)
committerArnaldo Pereira <arnaldo@sangoma.com>
Tue, 7 Dec 2010 16:18:38 +0000 (14:18 -0200)
libs/freetdm/src/testsangomaboost.c

index 85b5332635140c4e41bea5ad9206d1be089897e9..84ff28783075a3936227be68022e66dfe476ec8d 100644 (file)
@@ -49,7 +49,9 @@
 #include <string.h>
 #include <errno.h>
 #ifdef __linux__
+#ifndef __USE_BSD
 #define __USE_BSD
+#endif
 #include <unistd.h>
 #endif
 #include "freetdm.h"