shuttler/nessDB — pull request #38 by kgcrom (2012-04-04 04:15:06+00:00)
Title: Modify util.h(redefined CHAR_BIT)

[root@stest002 nessDB]# make
gcc -c -std=c99 -W -Wall -Werror -fPIC -g -ggdb -DDEBUG -c -o engine/ht.o engine/ht.c
In file included from engine/ht.c:12:
engine/util.h:42:1: error: "CHAR_BIT" redefined
In file included from /usr/include/bits/socket.h:31,
from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from engine/util.h:17,
from engine/ht.c:12:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h:18:1: error: this is the location of the previous definition
make: *** [engine/ht.o] 오류 1

so adding macro #if~ #endif