]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/usb.c
Merge changes from CUPS 1.6svn-r10267.
[thirdparty/cups.git] / backend / usb.c
index 65fba47464f635a6be5c24a07877c3df49eb44cc..2e024e612baae54a4bc4717042247411b65c53e6 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 */
 
 
 /*