C++ header safety

Pointed out by JF
This commit is contained in:
Daniel Drake
2008-01-26 17:22:53 +00:00
parent 37b7f9a112
commit 1d41a5cda2

View File

@@ -24,6 +24,10 @@
#include <stdint.h>
#include <sys/time.h>
#ifdef __cplusplus
extern "C" {
#endif
/* standard USB stuff */
/* Device and/or Interface Class codes */
@@ -261,4 +265,8 @@ int libusb_interrupt_transfer(libusb_dev_handle *devh,
struct libusb_bulk_transfer *transfer, int *transferred,
unsigned int timeout);
#ifdef __cplusplus
}
#endif
#endif