diff -up lockdev-1.0.3/src/sample.c.gccwarn lockdev-1.0.3/src/sample.c --- lockdev-1.0.3/src/sample.c.gccwarn 2009-12-05 15:50:04.000000000 +0100 +++ lockdev-1.0.3/src/sample.c 2009-12-05 16:49:40.000000000 +0100 @@ -1,5 +1,7 @@ #include #include +#include +#include #include "lockdev.h" void @@ -14,7 +16,7 @@ int main (int argc, char *argv[]) { - int i, chld; + int i; char *p = NULL, *dev = NULL, ch; ch = '\0';