1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00

Fix includes after DM_DIR definition move.

This commit is contained in:
Alasdair Kergon 2002-11-14 14:44:42 +00:00
parent f2fd4b8a1f
commit 0fef6a6ecc
3 changed files with 14 additions and 4 deletions

View File

@ -4,6 +4,11 @@
* This file is released under the LGPL.
*/
#ifndef LIB_DMTARGETS_H
#define LIB_DMTARGETS_H
#include "libdevmapper.h"
struct target {
uint64_t start;
uint64_t length;
@ -27,3 +32,5 @@ struct dm_task {
char *uuid;
};
#endif

View File

@ -4,6 +4,8 @@
* This file is released under the LGPL.
*/
#include "libdm-targets.h"
#include "libdm-common.h"
#include "libdevmapper.h"
#include <stdio.h>
@ -17,10 +19,7 @@
#include <sys/types.h>
#include <errno.h>
#include <linux/kdev_t.h>
#include <linux/device-mapper.h>
#include "libdm-targets.h"
#include "libdm-common.h"
#include <linux/dm-ioctl.h>
#define DEV_DIR "/dev/"

View File

@ -4,6 +4,9 @@
* This file is released under the LGPL.
*/
#ifndef LIB_DMCOMMON_H
#define LIB_DMCOMMON_H
#define _LOG_DEBUG 7
#define _LOG_INFO 6
#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@
#endif