--- ./popt.c.orig Thu Aug 22 18:17:44 2002 +++ ./popt.c Wed Apr 4 12:25:14 2007 @@ -14,6 +14,9 @@ #include #endif #include +#ifdef __FreeBSD__ +#include +#endif #include "findme.h" #include "poptint.h" @@ -1153,7 +1156,7 @@ /*@=nullderef@*/ } -const char *const poptStrerror(const int error) +const char * poptStrerror(const int error) { switch (error) { case POPT_ERROR_NOARG: