[Box Backup-commit] COMMIT r3474 - box/trunk/lib/server

subversion at boxbackup.org subversion at boxbackup.org
Mon Dec 22 21:29:25 GMT 2014


Author: chris
Date: 2014-12-22 21:29:24 +0000 (Mon, 22 Dec 2014)
New Revision: 3474

Modified:
   box/trunk/lib/server/makeprotocol.pl.in
Log:
Fix compile error on OpenBSD due to invalid forward declarations of classes.

OpenBSD's compiler appears to be more sensitive than others.


Modified: box/trunk/lib/server/makeprotocol.pl.in
===================================================================
--- box/trunk/lib/server/makeprotocol.pl.in	2014-12-21 15:38:14 UTC (rev 3473)
+++ box/trunk/lib/server/makeprotocol.pl.in	2014-12-22 21:29:24 UTC (rev 3474)
@@ -177,12 +177,11 @@
 #include <syslog.h>
 #endif
 
+#include "autogen_ConnectionException.h"
 #include "Protocol.h"
 #include "Message.h"
-#include "autogen_ConnectionException.h"
+#include "SocketStream.h"
 
-class IOStream;
-class SocketStream;
 __E
 
 # extra headers




More information about the Boxbackup-commit mailing list