[Spice-devel] [PATCH vd_agent_linux v2 7/7] Add missing config.h includes

Frediano Ziglio fziglio at redhat.com
Fri Jan 4 08:37:05 UTC 2019


Make sure all module files include config.h

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 src/vdagentd/console-kit.c        | 1 +
 src/vdagentd/dummy-session-info.c | 1 +
 src/vdagentd/systemd-login.c      | 1 +
 src/vdagentd/virtio-port.c        | 1 +
 4 files changed, 4 insertions(+)

diff --git a/src/vdagentd/console-kit.c b/src/vdagentd/console-kit.c
index c9da0b9..fc630f1 100644
--- a/src/vdagentd/console-kit.c
+++ b/src/vdagentd/console-kit.c
@@ -18,6 +18,7 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+#include <config.h>
 
 #include "session-info.h"
 #include <dbus/dbus.h>
diff --git a/src/vdagentd/dummy-session-info.c b/src/vdagentd/dummy-session-info.c
index 1be27ae..7fd1eea 100644
--- a/src/vdagentd/dummy-session-info.c
+++ b/src/vdagentd/dummy-session-info.c
@@ -18,6 +18,7 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+#include <config.h>
 
 #include "session-info.h"
 
diff --git a/src/vdagentd/systemd-login.c b/src/vdagentd/systemd-login.c
index a20cd58..a11b66d 100644
--- a/src/vdagentd/systemd-login.c
+++ b/src/vdagentd/systemd-login.c
@@ -18,6 +18,7 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+#include <config.h>
 
 #include "session-info.h"
 #include <errno.h>
diff --git a/src/vdagentd/virtio-port.c b/src/vdagentd/virtio-port.c
index 7c04177..b0556ce 100644
--- a/src/vdagentd/virtio-port.c
+++ b/src/vdagentd/virtio-port.c
@@ -18,6 +18,7 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+#include <config.h>
 
 #include <errno.h>
 #include <stdlib.h>
-- 
2.20.1



More information about the Spice-devel mailing list