Fix compile warnings on OpenBSD.

https://bugzilla.gnome.org/show_bug.cgi?id=651223
This commit is contained in:
Antoine Jacoutot 2011-05-27 11:08:13 +02:00 committed by Matthias Clasen
parent 05c7dcab37
commit 56c0d0f384

View File

@ -42,17 +42,17 @@
#include <sys/types.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#if defined(HAVE_ARPA_NAMESER_COMPAT_H) && !defined(GETSHORT)
#include <arpa/nameser_compat.h>
#endif
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <resolv.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#if defined(HAVE_ARPA_NAMESER_COMPAT_H) && !defined(GETSHORT)
#include <arpa/nameser_compat.h>
#endif
#ifndef T_SRV
#define T_SRV 33