[MPlayer-dev-eng] [PATCH] Correctly detect sockaddr_storage on OpenBSD

Edd Barrett vext01 at gmail.com
Tue Aug 3 16:08:52 CEST 2010


<sys/socket.h> requires <sys/types.h> on OpenBSD.

Index: configure
===================================================================
--- configure	(revision 31912)
+++ configure	(working copy)
@@ -3266,6 +3266,9 @@
 #if HAVE_WINSOCK2_H
 #include <winsock2.h>
 #else
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#endif
 #include <sys/socket.h>
 #endif
 int main(void) { struct sockaddr_storage sas; return 0; }

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


More information about the MPlayer-dev-eng mailing list