]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/usb.c
The USB backend now uses and requires LIBUSB 1.0 or later (STR #3477)
[thirdparty/cups.git] / backend / usb.c
index d72535e9389e485b711f25e4c90a53ca71cea8ca..ee8c1f4ed7d96060f50a59d43090331b4fe9c04a 100644 (file)
@@ -3,7 +3,7 @@
  *
  *   USB port backend for CUPS.
  *
- *   Copyright 2007-2011 by Apple Inc.
+ *   Copyright 2007-2012 by Apple Inc.
  *   Copyright 1997-2007 by Easy Software Products, all rights reserved.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -55,7 +55,7 @@ int   print_device(const char *uri, const char *hostname,
  * Include the vendor-specific USB implementation...
  */
 
-#ifdef HAVE_USB_H
+#ifdef HAVE_LIBUSB
 #  include "usb-libusb.c"
 #elif defined(__APPLE__)
 #  include "usb-darwin.c"
@@ -118,7 +118,7 @@ print_device(const char *uri,               /* I - Device URI */
 
   return (CUPS_BACKEND_FAILED);
 }
-#endif /* __APPLE__ */
+#endif /* HAVE_LIBUSB */
 
 
 /*