libusbgx: Surround header with include guards.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 11 Dec 2013 13:56:07 +0000 (14:56 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:33:56 +0000 (20:33 +0100)
Surround header with include guards to protect against
multiple inclusion.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
include/usbg/usbg.h

index 7c2b5f6..e887565 100644 (file)
@@ -14,6 +14,9 @@
  * Lesser General Public License for more details.
  */
 
+#ifndef __USBG_H__
+#define __USBG_H__
+
 #include <dirent.h>
 #include <sys/queue.h>
 #include <netinet/ether.h>
@@ -439,3 +442,4 @@ extern void usbg_set_net_qmult(struct function *f, int qmult);
 /**
  * @}
  */
+#endif /* __USBG_H__ */