[Clamav-devel] Patch for (mostly) missing includes

2006-04-08 Thread Stephen Gran
I noticed that by default, clamav does not build with -Wall. So, today, I gave it a run with CFLAGS=-Wall -Werror to see how things went. Below is patch based on several build failures. Please note, most of it is trivial. The only part that really looks like it might take some thought are the

Re: [Clamav-devel] Patch for (mostly) missing includes

2006-04-08 Thread Stephen Gran
Continuing in this vein, I built on amd64 to see if there were any furhter issues. There were, but they were relatively minor. Attached is a patch that fixes the issues here. The chmunpack.c ifdef may not be the best way to handle it - I know __WORDSIZE will be defined with gnu utils, but I