Browse Source

include either inttypes.h or stdint.h (fixes #291)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@748 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.6
Jan Kneschke 16 years ago
parent
commit
40968e3c64
  1. 9
      src/crc32.h

9
src/crc32.h

@ -1,8 +1,17 @@
#ifndef __crc32cr_table_h__
#define __crc32cr_table_h__
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h>
#if defined HAVE_STDINT_H
#include <stdint.h>
#elif def HAVE_INTTYPES_H
#include <inttypes.h>
#endif
uint32_t generate_crc32c(char *string, size_t length);

Loading…
Cancel
Save