From d22606dc078bbd618d2563a552a62cd4f46ac682 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Wed, 10 Jan 2018 16:06:18 +0100 Subject: include: Add version header This moves the version definition for Ouroboros into its own header file, which is generated by CMake and installed on the system. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/irmd/config.h.in | 4 ---- src/irmd/main.c | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/irmd') diff --git a/src/irmd/config.h.in b/src/irmd/config.h.in index 2a1a6d6a..923a6ef5 100644 --- a/src/irmd/config.h.in +++ b/src/irmd/config.h.in @@ -28,10 +28,6 @@ #define INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@" -#define OUROBOROS_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@ -#define OUROBOROS_VERSION_MINOR @PACKAGE_VERSION_MINOR@ -#define OUROBOROS_VERSION_PATCH @PACKAGE_VERSION_PATCH@ - #define PTHREAD_COND_CLOCK @PTHREAD_COND_CLOCK@ #define SOCKET_TIMEOUT @SOCKET_TIMEOUT@ diff --git a/src/irmd/main.c b/src/irmd/main.c index f109d5e2..1e794139 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -42,6 +42,7 @@ #include #include #include +#include #include "utils.h" #include "registry.h" -- cgit v1.2.3