From: Jochen Sprickerhof Date: Thu, 30 May 2019 10:10:47 +0000 (+0200) Subject: Use usb.h from system include dir X-Git-Tag: archive/raspbian/1.6.0+ds-3+rpi1~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3279ebb3eb0e520e67ac623743b82e2fd872e8c8;p=gpsbabel.git Use usb.h from system include dir Gbp-Pq: Name 0008-Use-usb.h-from-system-include-dir.patch --- diff --git a/Makefile.in b/Makefile.in index a1bec30..f6c341f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -680,7 +680,7 @@ jeeps/gpsdevice_usb.o: jeeps/gpsdevice_usb.cc jeeps/gps.h jeeps/../defs.h \ jeeps/gpsapp.h jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h \ jeeps/gpsmath.h jeeps/gpsmem.h jeeps/gpsrqst.h jeeps/garminusb.h \ jeeps/gpsusbcommon.h jeeps/gpsusbint.h -jeeps/gpslibusb.o: jeeps/gpslibusb.cc config.h mac/libusb/usb.h \ +jeeps/gpslibusb.o: jeeps/gpslibusb.cc config.h \ jeeps/gps.h jeeps/../defs.h cet.h inifile.h \ gbfile.h defs.h session.h src/core/datetime.h src/core/optional.h \ jeeps/gpsport.h jeeps/gpsdevice.h jeeps/gpssend.h jeeps/gpsread.h \ diff --git a/jeeps/gpslibusb.cc b/jeeps/gpslibusb.cc index 7017969..3f7ff28 100644 --- a/jeeps/gpslibusb.cc +++ b/jeeps/gpslibusb.cc @@ -31,7 +31,7 @@ // We use our own (slightly modified) libusb. # include "mac/libusb/usb.h" # else -# include "usb.h" +# include # endif #include "gps.h" #include "garminusb.h"