mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-03 17:50:03 +03:00
util: swap header file load order
Ensure libdevmapper is included before util.h since we are going to add function that is using it. TODO: maybe add include directly here...
This commit is contained in:
parent
fa81c7561f
commit
5c0ade35e2
@ -13,6 +13,7 @@
|
||||
#define _LVM_CLOG_FUNCTIONS_H
|
||||
|
||||
#include "libdm/libdevmapper.h"
|
||||
#include "libdm/dm-tools/util.h"
|
||||
#include "libdm/misc/dm-log-userspace.h"
|
||||
#include "cluster.h"
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "util.h"
|
||||
#include "libdm/misc/dm-logging.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -92,9 +92,8 @@
|
||||
#define DM_EXPORT_SYMBOL_BASE(func)
|
||||
#endif
|
||||
|
||||
#include "libdm/dm-tools/util.h"
|
||||
|
||||
#include "libdm/libdevmapper.h"
|
||||
#include "libdm/dm-tools/util.h"
|
||||
#include "libdm/misc/dm-logging.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user