ref: ac7438371e525f5b40bca700e5c0913ceed261fb
parent: bc739dceeb737226720146711b89e4381e63df3a
author: Marvin Scholz <[email protected]>
date: Tue Oct 2 07:00:57 EDT 2018
Fix version.h include Previously it was assumed version.h is in include, which is actually not always the case, for example with --layout flat when configuring.
--- a/src/lib.c
+++ b/src/lib.c
@@ -26,6 +26,7 @@
*/
#include "config.h"
+#include "version.h"
#include <errno.h>
#include <string.h>
@@ -32,8 +33,6 @@
#include "dav1d/dav1d.h"
#include "dav1d/data.h"
-
-#include "include/version.h"
#include "common/mem.h"
#include "common/validate.h"
--- a/tools/dav1d.c
+++ b/tools/dav1d.c
@@ -26,6 +26,7 @@
*/
#include "config.h"
+#include "version.h"
#include <assert.h>
#include <errno.h>
@@ -37,8 +38,6 @@
#endif
#include "dav1d/data.h"
-
-#include "include/version.h"
#include "input/input.h"