summaryrefslogtreecommitdiff
path: root/blockdev
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-18 12:05:34 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-08 09:17:37 +0100
commit89c456b2333245b8dc4a80deb0f1aabf4f021184 (patch)
treef707cb684006f1cad0d1691afd88a8a00d386473 /blockdev
parent4eee448d748594c711b80d46877e4fb413246eeb (diff)
Fix #includes and build a shared library.
Diffstat (limited to 'blockdev')
-rw-r--r--blockdev/CMakeLists.txt2
-rw-r--r--blockdev/linux/file_dev.h4
-rw-r--r--blockdev/windows/file_windows.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/blockdev/CMakeLists.txt b/blockdev/CMakeLists.txt
index a16e810..e79cbb4 100644
--- a/blockdev/CMakeLists.txt
+++ b/blockdev/CMakeLists.txt
@@ -9,5 +9,5 @@ else()
endif()
aux_source_directory(. BLOCKDEV_SRC)
-add_library(blockdev ${BLOCKDEV_SRC})
+add_library(blockdev SHARED ${BLOCKDEV_SRC})
diff --git a/blockdev/linux/file_dev.h b/blockdev/linux/file_dev.h
index ce4690d..ade80fb 100644
--- a/blockdev/linux/file_dev.h
+++ b/blockdev/linux/file_dev.h
@@ -28,8 +28,8 @@
#ifndef FILE_DEV_H_
#define FILE_DEV_H_
-#include <ext4_config.h>
-#include <ext4_blockdev.h>
+#include "ext4_config.h"
+#include "ext4_blockdev.h"
#include <stdint.h>
#include <stdbool.h>
diff --git a/blockdev/windows/file_windows.h b/blockdev/windows/file_windows.h
index 8693fdd..c7afd97 100644
--- a/blockdev/windows/file_windows.h
+++ b/blockdev/windows/file_windows.h
@@ -28,8 +28,8 @@
#ifndef FILE_WINDOWS_H_
#define FILE_WINDOWS_H_
-#include <ext4_config.h>
-#include <ext4_blockdev.h>
+#include "ext4_config.h"
+#include "ext4_blockdev.h"
#include <stdint.h>
#include <stdbool.h>