perror is declared in cstdio draft default tip master remote/master
authorMarkus Bröker <mbroeker@largo.homelinux.org>
Tue, 02 Feb 2010 13:26:30 +0100
changeset 8 6097dc1fe2cf
parent 7 f23b595e590e
perror is declared in cstdio
PacketReader.cpp
PacketWriter.cpp
--- a/PacketReader.cpp
+++ b/PacketReader.cpp
@@ -3,6 +3,7 @@
  * $URL: http://localhost/svn/cpp/qMonitor/trunk/PacketReader.cpp $
  */
 
+#include <cstdio>
 #include <PacketReader.h>
 
 PacketReader::PacketReader (int tm)
--- a/PacketWriter.cpp
+++ b/PacketWriter.cpp
@@ -3,8 +3,9 @@
  * $URL: http://localhost/svn/cpp/qMonitor/trunk/PacketWriter.cpp $
  */
 
+#include <cstdio>
+#include <cstdlib>
 #include <PacketWriter.h>
-#include <cstdlib>
 
 extern "C" {
 #include <sys/socket.h>