mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvm-wrappers: Remove spurious #include <libudev.h>.
This commit is contained in:
parent
490226fc47
commit
d5682ccbac
@ -19,6 +19,9 @@
|
||||
#include "config.h"
|
||||
#include "toolcontext.h"
|
||||
|
||||
#ifdef UDEV_SYNC_SUPPORT
|
||||
#include <libudev.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <sys/param.h>
|
||||
#include <dirent.h>
|
||||
|
@ -18,6 +18,8 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef UDEV_SYNC_SUPPORT
|
||||
#include <libudev.h>
|
||||
|
||||
struct udev *_udev;
|
||||
|
||||
int udev_init_library_context(void)
|
||||
|
@ -17,7 +17,7 @@
|
||||
#define _LVM_WRAPPERS_H
|
||||
|
||||
#ifdef UDEV_SYNC_SUPPORT
|
||||
#include <libudev.h>
|
||||
struct udev;
|
||||
struct udev *udev_get_library_context(void);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user