summaryrefslogtreecommitdiffstats
path: root/src/usb-device.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-10 12:26:13 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-10 12:26:13 +0200
commitcc6e2dcfcdd8eb59b2bc9bc135b90de04ae15e25 (patch)
treed71df6036a9dd50732988d2e0870d5df9df71b3c /src/usb-device.h
parentadbe2dabadda68ca64ce1f7ed6ef675bc76fd52e (diff)
download0xFFFF-cc6e2dcfcdd8eb59b2bc9bc135b90de04ae15e25.tar.bz2
usb-device: Include once
Diffstat (limited to 'src/usb-device.h')
-rw-r--r--src/usb-device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usb-device.h b/src/usb-device.h
index 73408ad..93a5b0d 100644
--- a/src/usb-device.h
+++ b/src/usb-device.h
@@ -17,6 +17,9 @@
*/
+#ifndef USB_DEVICE_H
+#define USB_DEVICE_H
+
#include <usb.h>
#include "device.h"
@@ -48,3 +51,5 @@ struct usb_device_info {
const char * usb_flash_protocol_to_string(enum usb_flash_protocol protocol);
struct usb_device_info * usb_open_and_wait_for_device(void);
void usb_close_device(struct usb_device_info * dev);
+
+#endif