Skip to contentSkip to conversation

master - tests: prefer internal header

PATCH Zdenek Kabelac 1 participant 1 message Nov 17, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=4021e88a31a440e64992742be76367f98fbc9400
Commit:        4021e88a31a440e64992742be76367f98fbc9400
Parent:        188bedf8de0c60a2269f76d99262c8892c5a2143
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Nov 17 01:38:39 2018 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sat Nov 17 01:40:29 2018 +0100

tests: prefer internal header

Although we primarily want to check externally used libdevmapper
library, out internal all.h is still keeping all symbols
as the original library has - so for simpler compilation keep using this private copy for defining needed symbols.

---
 test/lib/dmsecuretest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/dmsecuretest.c +1 -1
index 00d1e70..2ab7f81 100644
@@ -10,7 +10,7 @@
  *
  */
 
-#include "libdevmapper.h"
+#include "device_mapper/all.h"
 
 #include <unistd.h>
 #include <signal.h>