changeset 11898:8d019c4bf454

[gaim-migrate @ 14189] I think this might fix the FreeBSD compile issues reported on gaim-devel committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 30 Oct 2005 17:02:40 +0000
parents a1aa681f1448
children 0b8b7e59cb4b
files src/dnssrv.c src/stun.c
diffstat 2 files changed, 5 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnssrv.c	Sun Oct 30 16:59:25 2005 +0000
+++ b/src/dnssrv.c	Sun Oct 30 17:02:40 2005 +0000
@@ -19,17 +19,17 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#include <glib.h>
+
+#include "internal.h"
+
 #ifndef _WIN32
 #include <resolv.h>
-#include <stdlib.h>
 #include <arpa/nameser.h>
 #include <arpa/nameser_compat.h>
 #ifndef T_SRV
 #define T_SRV	33
 #endif
 #else
-#include "win32dep.h"
 #include <windns.h>
 /* Missing from the mingw headers */
 #ifndef DNS_TYPE_SRV
@@ -38,9 +38,6 @@
 #endif
 
 #include "dnssrv.h"
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
 #include "eventloop.h"
 #include "debug.h"
 
--- a/src/stun.c	Sun Oct 30 16:59:25 2005 +0000
+++ b/src/stun.c	Sun Oct 30 17:02:40 2005 +0000
@@ -26,15 +26,13 @@
  *
  */
 
+#include "internal.h"
+
 #ifndef _WIN32
 #include <net/if.h>
 #include <sys/ioctl.h>
-#else
-#include "libc_interface.h"
 #endif
 
-#include "internal.h"
-
 #include "debug.h"
 #include "account.h"
 #include "dnssrv.h"