diff options
Diffstat (limited to 'lib/crc8.c')
-rw-r--r-- | lib/crc8.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/crc8.c b/lib/crc8.c index 55f7c07285..87b87b675b 100644 --- a/lib/crc8.c +++ b/lib/crc8.c @@ -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) |