1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05:00

Add the CRC32 functions from the GNU Portability Library

This commit is contained in:
John Zaitseff 2014-05-22 18:17:02 +10:00
parent 549b2d517d
commit 3d20e0b307
3 changed files with 5 additions and 1 deletions

2
lib/.gitignore vendored
View File

@ -6,6 +6,8 @@ c-strcase.h
c-strcasecmp.c
c-strncasecmp.c
config.charset
crc.c
crc.h
getopt.c
getopt.in.h
getopt1.c

View File

@ -27,7 +27,7 @@
# Specification in the form of a command-line invocation:
# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl assert btowc config-h getopt-gnu gettext gettext-h gettimeofday locale mbrtowc mbsrtowcs stdbool stdio striconv string strstr sys_stat sys_time unistd wchar wcrtomb wcsdup wctob wctype-h
# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-conditional-dependencies --no-libtool --macro-prefix=gl assert btowc config-h crc getopt-gnu gettext gettext-h gettimeofday locale mbrtowc mbsrtowcs stdbool stdio striconv string strstr sys_stat sys_time unistd wchar wcrtomb wcsdup wctob wctype-h
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([])
@ -35,6 +35,7 @@ gl_MODULES([
assert
btowc
config-h
crc
getopt-gnu
gettext
gettext-h

View File

@ -75,6 +75,7 @@
// Headers defined by the GNU C Library
#include <crc.h>
#include <getopt.h>