openbsd-ports/net/libproxy/patches/patch-src_plugins_mozjs_c
landry 2df7d4e606 Import libproxy 0.2.3, a library that provides automatic proxy
configuration management. Currently provides GNOME and KDE plugins,
gecko and webkit plugins may be enabled at some point.
Joint work with and ok jasper@
2009-04-04 10:07:31 +00:00

22 lines
634 B
Plaintext

$OpenBSD: patch-src_plugins_mozjs_c,v 1.1.1.1 2009/04/04 10:07:31 landry Exp $
--- src/plugins/mozjs.c.orig Tue Feb 3 10:37:21 2009
+++ src/plugins/mozjs.c Tue Feb 3 10:37:39 2009
@@ -17,12 +17,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
******************************************************************************/
-#include <stdlib.h>
-#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <netdb.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
+#include <netdb.h>
+
+#include <stdlib.h>
+#include <string.h>
#define __USE_BSD
#include <unistd.h>