friend does not declare. fix gcc4

This commit is contained in:
espie 2010-05-22 07:46:48 +00:00
parent ac35c6ef87
commit 892b20d87e
2 changed files with 16 additions and 4 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-DockWidget_dockmanager_h,v 1.1 2010/05/22 07:46:48 espie Exp $
--- DockWidget/dockmanager.h.orig Sat May 22 09:43:13 2010
+++ DockWidget/dockmanager.h Sat May 22 09:43:25 2010
@@ -57,6 +57,8 @@ class SDockButton : public QPushButton (private)
bool moveMouse;
};
+class DockManager;
+
class DockWidget: public QWidget
{ Q_OBJECT
friend class DockManager;

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure_in,v 1.1 2002/07/24 15:34:59 naddy Exp $
--- configure.in.orig Tue Jul 23 19:15:19 2002
+++ configure.in Tue Jul 23 19:15:34 2002
@@ -28,7 +28,7 @@ dnl check for some more header files. Yo
$OpenBSD: patch-configure_in,v 1.2 2010/05/22 07:46:48 espie Exp $
--- configure.in.orig Wed Mar 20 22:23:02 2002
+++ configure.in Sat May 22 09:17:54 2010
@@ -28,7 +28,7 @@ dnl check for some more header files. You can remove s
dnl them, if you want to. But it doesn't hurt
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/cdefs.h)
AC_CHECK_HEADERS(fnmatch.h sysent.h strings.h sys/stat.h)