board: stm32mp1: fix handling of DT OP-TEE reserved memory nodes
[oweals/u-boot.git] / lib / crc8.c
index 55f7c07285cd3baf32612eaaf44fbed167a1ffcf..87b87b675b27fa77280cdf98a5cdf17c66b79566 100644 (file)
@@ -3,7 +3,12 @@
  * Copyright (c) 2013 Google, Inc
  */
 
-#include "linux/crc8.h"
+#ifdef USE_HOSTCC
+#include <arpa/inet.h>
+#else
+#include <common.h>
+#endif
+#include <u-boot/crc.h>
 
 #define POLY   (0x1070U << 3)