make: Insert version macros in criu.h

Including the version information of CRIU in criu.h is required by
projects that use libcriu to preserve backward compatibility.

Closes #738

Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
This commit is contained in:
Radostin Stoyanov 2019-07-10 18:47:56 +01:00 committed by Andrei Vagin
parent c01da212da
commit ba454407bf
2 changed files with 4 additions and 2 deletions

View file

@ -21,8 +21,10 @@
#include <stdbool.h>
#include "version.h"
#ifdef __GNUG__
extern "C" {
extern "C" {
#endif
enum criu_service_comm {