Репозиторий Sisyphus
Последнее обновление: 5 октября 2022 | Пакетов: 17717 | Посещений: 25063823
en ru br
Репозитории ALT

Группа :: Графические оболочки/Прочее
Пакет: SPICE

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0008-Make-headers-independent.patch
Скачать


From cb9bd1b09e1dcab2c58e0fd5c49e965edaec7c07 Mon Sep 17 00:00:00 2001
From: Frediano Ziglio <freddy77@gmail.com>
Date: Sun, 9 May 2021 09:43:32 +0100
Subject: [PATCH] Make headers independent
Make sure all headers can be compiled alone.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
---
 server/glz-encoder-dict.h | 1 +
 server/jpeg-encoder.h     | 1 +
 server/lz4-encoder.h      | 1 +
 server/stat-file.h        | 1 +
 server/zlib-encoder.h     | 1 +
 5 files changed, 5 insertions(+)
diff --git a/server/glz-encoder-dict.h b/server/glz-encoder-dict.h
index 329a50c..b5a7636 100644
--- a/server/glz-encoder-dict.h
+++ b/server/glz-encoder-dict.h
@@ -19,6 +19,7 @@
 #define GLZ_ENCODER_DICT_H_
 
 #include <stdint.h>
+#include <spice/macros.h>
 
 /*
     Interface for maintaining lz dictionary that is shared among several encoders.
diff --git a/server/jpeg-encoder.h b/server/jpeg-encoder.h
index 4d1a5ee..9a3325f 100644
--- a/server/jpeg-encoder.h
+++ b/server/jpeg-encoder.h
@@ -32,6 +32,7 @@
 #define JPEG_ENCODER_H_
 
 #include <spice/types.h>
+#include <spice/macros.h>
 
 SPICE_BEGIN_DECLS
 
diff --git a/server/lz4-encoder.h b/server/lz4-encoder.h
index d7ec6dc..ed119a1 100644
--- a/server/lz4-encoder.h
+++ b/server/lz4-encoder.h
@@ -32,6 +32,7 @@
 #define LZ4_ENCODER_H_
 
 #include <spice/types.h>
+#include <spice/macros.h>
 
 SPICE_BEGIN_DECLS
 
diff --git a/server/stat-file.h b/server/stat-file.h
index 709e41c..d6e763f 100644
--- a/server/stat-file.h
+++ b/server/stat-file.h
@@ -20,6 +20,7 @@
 #define STAT_FILE_H_
 
 #include <stdint.h>
+#include <spice/macros.h>
 
 SPICE_BEGIN_DECLS
 
diff --git a/server/zlib-encoder.h b/server/zlib-encoder.h
index dd4384f..11a6a66 100644
--- a/server/zlib-encoder.h
+++ b/server/zlib-encoder.h
@@ -32,6 +32,7 @@
 #define ZLIB_ENCODER_H_
 
 #include <inttypes.h>
+#include <spice/macros.h>
 
 SPICE_BEGIN_DECLS
 
--
libgit2 1.3.0
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin