Include the commong mtd-utils "common.h" header in integck test to
make it possible to use shared macros.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
CC = gcc
endif
-CFLAGS := $(CFLAGS) -Wall -g -O2 -I../lib
+COMMON_HEADERS_DIR := ../../../include
+
+CFLAGS := $(CFLAGS) -Wall -g -O2 -I../lib -I$(COMMON_HEADERS_DIR)
LDFLAGS := $(LDFLAGS)
#include <limits.h>
#include <dirent.h>
#include <sys/mman.h>
-
#include "tests.h"
+#define PROGRAM_NAME "integck"
+#include "common.h"
+
/* Structures to store data written to the test file system,
so that we can check whether the file system is correct. */