--- freetds-0.92.79.orig/src/apps/tsql.c +++ freetds-0.92.79/src/apps/tsql.c @@ -33,6 +33,7 @@ # endif #endif +#include <getopt.h> #include <stdio.h> #include <assert.h> #include <ctype.h>