acbecker / hotpants

hotpants
MIT License
43 stars 23 forks source link

Compile fixes for CentOS 5-7 #2

Closed irasnyd closed 8 years ago

irasnyd commented 8 years ago

These two fixes allow me to compile on CentOS 5-7, both 32 and 64 bit versions.

To make sure not to confuse compilers which are not gcc, I decided to use -D_GNU_SOURCE instead of -std=gnu99 to fix the gethostname() error.

acbecker commented 8 years ago

Makefile fixes for CentOS