[Spice-devel] [PATCH 3/3] Remove unnecessary Xlib.h include
Snir Sheriber
ssheribe at redhat.com
Wed May 1 12:31:35 UTC 2019
Included also in x11-display-info.hpp
Signed-off-by: Snir Sheriber <ssheribe at redhat.com>
---
src/gst-plugin.cpp | 1 -
src/mjpeg-fallback.cpp | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/gst-plugin.cpp b/src/gst-plugin.cpp
index 80b56ae..9858beb 100644
--- a/src/gst-plugin.cpp
+++ b/src/gst-plugin.cpp
@@ -17,7 +17,6 @@
#define XLIB_CAPTURE 1
#if XLIB_CAPTURE
-#include <X11/Xlib.h>
#include <gst/app/gstappsrc.h>
#endif
diff --git a/src/mjpeg-fallback.cpp b/src/mjpeg-fallback.cpp
index ef7a13d..03247a1 100644
--- a/src/mjpeg-fallback.cpp
+++ b/src/mjpeg-fallback.cpp
@@ -16,7 +16,6 @@
#include <sstream>
#include <memory>
#include <syslog.h>
-#include <X11/Xlib.h>
using namespace spice::streaming_agent;
--
2.20.1
More information about the Spice-devel
mailing list