summaryrefslogtreecommitdiff
path: root/include/linux/license.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/license.h')
-rw-r--r--include/linux/license.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/license.h b/include/linux/license.h
index 7cce390f120b..ad937f57f2cb 100644
--- a/include/linux/license.h
+++ b/include/linux/license.h
@@ -2,6 +2,8 @@
#ifndef __LICENSE_H
#define __LICENSE_H
+#include <linux/string.h>
+
static inline int license_is_gpl_compatible(const char *license)
{
return (strcmp(license, "GPL") == 0