mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix includes after DM_DIR definition move.
This commit is contained in:
parent
f2187638dc
commit
40c44db720
@ -4,6 +4,11 @@
|
|||||||
* This file is released under the LGPL.
|
* This file is released under the LGPL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef LIB_DMTARGETS_H
|
||||||
|
#define LIB_DMTARGETS_H
|
||||||
|
|
||||||
|
#include "libdevmapper.h"
|
||||||
|
|
||||||
struct target {
|
struct target {
|
||||||
uint64_t start;
|
uint64_t start;
|
||||||
uint64_t length;
|
uint64_t length;
|
||||||
@ -27,3 +32,5 @@ struct dm_task {
|
|||||||
char *uuid;
|
char *uuid;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
* This file is released under the LGPL.
|
* This file is released under the LGPL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libdm-targets.h"
|
||||||
|
#include "libdm-common.h"
|
||||||
#include "libdevmapper.h"
|
#include "libdevmapper.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -17,10 +19,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <linux/kdev_t.h>
|
#include <linux/kdev_t.h>
|
||||||
#include <linux/device-mapper.h>
|
#include <linux/dm-ioctl.h>
|
||||||
|
|
||||||
#include "libdm-targets.h"
|
|
||||||
#include "libdm-common.h"
|
|
||||||
|
|
||||||
#define DEV_DIR "/dev/"
|
#define DEV_DIR "/dev/"
|
||||||
|
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
* This file is released under the LGPL.
|
* This file is released under the LGPL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef LIB_DMCOMMON_H
|
||||||
|
#define LIB_DMCOMMON_H
|
||||||
|
|
||||||
#define _LOG_DEBUG 7
|
#define _LOG_DEBUG 7
|
||||||
#define _LOG_INFO 6
|
#define _LOG_INFO 6
|
||||||
#define _LOG_NOTICE 5
|
#define _LOG_NOTICE 5
|
||||||
@ -29,3 +32,4 @@ int rename_dev_node(const char *old_name, const char *new_name);
|
|||||||
|
|
||||||
#define DM_LIB_VERSION @DM_LIB_VERSION@
|
#define DM_LIB_VERSION @DM_LIB_VERSION@
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user