1
0
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:
Zdenek Kabelac 2024-04-04 17:54:52 +02:00
parent fa81c7561f
commit 5c0ade35e2
3 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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>

View File

@ -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>