summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/compiz.h1
-rw-r--r--plugins/composite/src/screen.cpp2
-rw-r--r--src/string.cpp3
3 files changed, 5 insertions, 1 deletions
diff --git a/include/compiz.h b/include/compiz.h
index 08acef4..ab1b5ca 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -30,6 +30,7 @@
#include <string>
#include <list>
+#include <cstdarg>
#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY (x)
diff --git a/plugins/composite/src/screen.cpp b/plugins/composite/src/screen.cpp
index b6ebc44..59d5284 100644
--- a/plugins/composite/src/screen.cpp
+++ b/plugins/composite/src/screen.cpp
@@ -254,6 +254,8 @@ CompositeScreen::CompositeScreen (CompScreen *s) :
setFailed ();
}
+ fprintf (stderr, "created this\n");
+
}
CompositeScreen::~CompositeScreen ()
diff --git a/src/string.cpp b/src/string.cpp
index 7ec0bec..898a89f 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -26,7 +26,8 @@
#include <compiz.h>
#include <string.h>
-#include <stdarg.h>
+#include <cstdarg>
+#include <cstdio>
CompString compPrintf (const char *format, ...)
{