Commit b3496d0a authored by Marcelo Boveto Shima's avatar Marcelo Boveto Shima Committed by Mike Gabriel

gcc43 fix (003_nxcompshad_gcc43.full.patch)

Use builtin includes to build with gcc43.
parent 3b4a9159
Description: gcc43 fix
Use builtin includes to build with gcc43.
.
Originally contributed by Marcelo Boveto Shima <marceloshima@gmail.com>.
Forwarded: pending...
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31
--- a/nxcompshad/Logger.h
+++ b/nxcompshad/Logger.h
@@ -18,8 +18,8 @@
#ifndef Logger_H
#define Logger_H
-#include <errno.h>
-#include <stdarg.h>
+#include <cerrno>
+#include <cstdarg>
//
// Error handling macros.
--- a/nxcompshad/Misc.h
+++ b/nxcompshad/Misc.h
@@ -20,8 +20,8 @@
#include <iostream>
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
using namespace std;
003_nxcompshad_gcc43.full.patch
004_nx-X11_fix-nxcompshad-build.full.patch
005_nxcomp_gcc43.full+lite.patch
006_nxcomp_libpng15.full+lite.patch
......
......@@ -18,8 +18,8 @@
#ifndef Logger_H
#define Logger_H
#include <errno.h>
#include <stdarg.h>
#include <cerrno>
#include <cstdarg>
//
// Error handling macros.
......
......@@ -20,8 +20,8 @@
#include <iostream>
#include <errno.h>
#include <string.h>
#include <cerrno>
#include <cstring>
using namespace std;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment