Index: head/sys/libkern/gsb_crc32.c =================================================================== --- head/sys/libkern/gsb_crc32.c +++ head/sys/libkern/gsb_crc32.c @@ -227,6 +227,7 @@ return crc; } +#ifndef _STANDALONE /* * Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved @@ -788,3 +789,10 @@ return (multitable_crc32c(crc32c, buffer, length)); } } +#else +uint32_t +calculate_crc32c(uint32_t crc32c, const unsigned char *buffer, unsigned int length) +{ + return (singletable_crc32c(crc32c, buffer, length)); +} +#endif