Skip to content
Snippets Groups Projects
Commit 42f66eee authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now checks that libsane exists too...

Rev: src/modules/SANE/sane.c:1.22
parent 026dc64b
No related branches found
No related tags found
No related merge requests found
...@@ -2,19 +2,17 @@ ...@@ -2,19 +2,17 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || for more information.
|| $Id: sane.c,v 1.21 2005/01/20 10:46:54 nilsson Exp $ || $Id: sane.c,v 1.22 2005/07/05 16:20:38 grubba Exp $
*/ */
#include "config.h" #include "config.h"
#if defined(HAVE_SANE_SANE_H) || defined(HAVE_SANE_H) #if (defined(HAVE_SANE_SANE_H) || defined(HAVE_SANE_H)) && defined(HAVE_LIBSANE)
#ifdef HAVE_SANE_SANE_H #ifdef HAVE_SANE_SANE_H
#include <sane/sane.h> #include <sane/sane.h>
#else #elif defined(HAVE_SANE_H)
#ifdef HAVE_SANE_H
#include <sane.h> #include <sane.h>
#endif #endif
#endif
#include <stdio.h> #include <stdio.h>
#include "global.h" #include "global.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment