--- a/include/sane/sane.h +++ b/include/sane/sane.h @@ -16,6 +16,8 @@ #ifndef sane_h #define sane_h +#include <sys/types.h> + #ifdef __cplusplus extern "C" { #endif