diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2018-12-21 19:11:49 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2018-12-21 19:19:50 +0100 |
commit | 18aa541ca270d70899ab7ec6095075b70a21fb09 (patch) | |
tree | 1cdc9265e6365b6649dac3b7ba9c9eb77bd3a329 /libdm/misc | |
parent | a7034fa4200d63207daa45290150159dd02cf01f (diff) | |
download | lvm2-18aa541ca270d70899ab7ec6095075b70a21fb09.tar.gz |
configure: avoid repeative inclusion of configure.h
Since configure.h is a generated header and it's missing traditional
ifdefs preambule - it can be included & parsed multiple times.
Normally compiler is fine when defines have same value and there is
no warning - yet we don't need to parse this several times
and by adding -include directive we can ensure every file
in the package is rightly compile with configure.h as the
first header file.
Diffstat (limited to 'libdm/misc')
-rw-r--r-- | libdm/misc/dmlib.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libdm/misc/dmlib.h b/libdm/misc/dmlib.h index 60787feb9..2ea05c1fa 100644 --- a/libdm/misc/dmlib.h +++ b/libdm/misc/dmlib.h @@ -19,8 +19,6 @@ #ifndef _DM_LIB_H #define _DM_LIB_H -#include "configure.h" - /* * Symbol export control macros * |