[Spice-devel] [RFC 01/33] qxl.h: double include protection

Alon Levy alevy at redhat.com
Wed Apr 27 08:55:50 PDT 2011


---
 src/qxl.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/qxl.h b/src/qxl.h
index 60a1046..9451d05 100644
--- a/src/qxl.h
+++ b/src/qxl.h
@@ -20,6 +20,9 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
+#ifndef QXL_H
+#define QXL_H
+
 #include "config.h"
 
 #include <stdint.h>
@@ -331,3 +334,5 @@ void              qxl_mem_free_all     (struct qxl_mem         *mem);
 void *            qxl_allocnf          (qxl_screen_t           *qxl,
 					unsigned long           size);
 int		   qxl_garbage_collect (qxl_screen_t *qxl);
+
+#endif // QXL_H
-- 
1.7.4.4



More information about the Spice-devel mailing list