PATCH: let konq-e compile under OpenBSD
Marc Espie
konq-e@mail.kde.org
Mon, 1 Apr 2002 15:22:32 +0200
The API to sys/socket.h requires that sys/types.h be explicitly included
as well, on most systems...
--- konq-embed/kdesrc/kdecore/netsupp.h.orig Sat Mar 9 22:26:45 2002
+++ konq-embed/kdesrc/kdecore/netsupp.h Sat Mar 9 22:26:56 2002
@@ -23,6 +23,7 @@
#ifndef _NETSUPP_H_
#define _NETSUPP_H_
+#include <sys/types.h>
#include <sys/socket.h>
#include "ksockaddr.h"
--- konq-embed/kdesrc/kio/http/http.h.orig Sat Mar 9 22:29:17 2002
+++ konq-embed/kdesrc/kio/http/http.h Sat Mar 9 22:29:24 2002
@@ -23,6 +23,7 @@
#define HTTP_H_
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>