Fix clang-tidy failures

Change-Id: I4e9e02cb57ae5eac8d7dc9f7c6e1083959170766
Signed-off-by: Ed Tanous <edtanous@google.com>
diff --git a/include/linux/peci-ioctl.h b/include/linux/peci-ioctl.h
index e5b4b8b..42a9979 100644
--- a/include/linux/peci-ioctl.h
+++ b/include/linux/peci-ioctl.h
@@ -6,6 +6,10 @@
 #ifndef __PECI_IOCTL_H
 #define __PECI_IOCTL_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <linux/ioctl.h>
 #include <linux/types.h>
 
@@ -660,5 +664,9 @@
 	_IOWR(PECI_IOC_BASE, PECI_CMD_CRASHDUMP_GET_FRAME, \
 	      struct peci_crashdump_get_frame_msg)
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __PECI_IOCTL_H */
 // clang-format on