[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/ksirk/ksirk/GameLogic
From:       Hasso Tepper <hasso () kde ! org>
Date:       2008-10-13 10:31:07
Message-ID: 1223893867.325496.26312.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 870807 by hasso:

Fix compile - move C includes out from namespace.


 M  +4 -4      gameautomaton.cpp  


--- trunk/KDE/kdegames/ksirk/ksirk/GameLogic/gameautomaton.cpp #870806:870807
@@ -52,6 +52,10 @@
 #include <sstream>
 #include <iostream>
 
+#include <errno.h>
+#include <sys/types.h>
+#include <signal.h>
+
 namespace Ksirk{
 namespace GameLogic {
 
@@ -212,10 +216,6 @@
   sendMessage(buffer,StateChange);
 }
 
-#include <errno.h>
-#include <sys/types.h>
-#include <signal.h>
-
 bool dnssdAvailable() {
   QFile f("/var/run/mdnsd.pid");
   if (!f.open(QIODevice::ReadOnly)) return false; // no pidfile
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic