Commit 92e59791 authored by Olaf Meeuwissen's avatar Olaf Meeuwissen

Fix [-Werror=implicit-function-declaration] compiler error

The fileno() is only available if its feature test macro passes.  The
various symbols are defined appropriately in ../include/sane/config.h
during configuration of the build.
parent adebd37b
......@@ -15,6 +15,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "../include/sane/config.h"
#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment