diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-06-18 12:05:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-06-18 12:05:34 +0100 |
| commit | e1bdae15781d64ee42205903c12ea65ab750290b (patch) | |
| tree | cb2ea6eed1c132dc515ce7c0c78cbe1853086cfb /blockdev | |
| parent | 4eee448d748594c711b80d46877e4fb413246eeb (diff) | |
Fix #includes and build a shared library.
Diffstat (limited to 'blockdev')
| -rw-r--r-- | blockdev/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | blockdev/linux/file_dev.h | 4 |
2 files changed, 3 insertions, 3 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> |
