summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/include/libpayload.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index c6d2fc629b..09bd4be69c 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -45,9 +45,13 @@
#include <stdbool.h>
#include <libpayload-config.h>
#include <cbgfx.h>
+#if CONFIG(LP_GPL)
+#include <commonlib/helpers.h>
+#else
+#include <commonlib/bsd/helpers.h>
+#endif
#include <commonlib/bsd/elog.h>
#include <commonlib/bsd/fmap_serialized.h>
-#include <commonlib/bsd/helpers.h>
#include <commonlib/bsd/ipchksum.h>
#include <commonlib/bsd/mem_chip_info.h>
#include <ctype.h>