libusbgx: fix build with glibc-2.28 since <sys/sysmacros.h> is no more included by... 74/221474/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.105755 accepted/tizen/6.0/unified/hotfix/20201102.235009 accepted/tizen/6.0/unified/hotfix/20201103.050038 accepted/tizen/unified/20200113.130526 submit/tizen/20200107.015420 submit/tizen/20200113.045254 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 tizen_6.0.m2_release
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Mon, 10 Sep 2018 13:52:09 +0000 (15:52 +0200)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Fri, 3 Jan 2020 02:08:52 +0000 (11:08 +0900)
Signed-off-by: Sid Spry R030t1@gmail.com
Signed-off-by: Gwenhael Goavec-Merou gwenhael.goavec-merou@trabucayre.com
[Copy sign-offs from pull requst to commit msg]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
(cherry picked from commit 45c14ef4d5d7ced0fbf984208de44ced6d5ed898)
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
Change-Id: Id72d8103e104226259888a157ee7bfadf9348aa5

examples/gadget-acm-ecm.c
examples/gadget-import.c
examples/gadget-ms.c
examples/show-gadgets.c
examples/show-udcs.c
include/usbg/usbg_internal_libconfig.h

index 1c5e2ca..29360da 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <errno.h>
 #include <stdio.h>
+#include <sys/sysmacros.h>
 #include <linux/usb/ch9.h>
 #include <usbg/usbg.h>
 
index e684fdb..63df449 100644 (file)
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <string.h>
 #include <stdio.h>
+#include <sys/sysmacros.h>
 #include <usbg/usbg.h>
 
 int main(int argc, char **argv)
index 478c370..a5c6681 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 #include <stdio.h>
+#include <sys/sysmacros.h>
 #include <linux/usb/ch9.h>
 #include <usbg/usbg.h>
 #include <usbg/function/ms.h>
index 707d448..a2a21c8 100644 (file)
@@ -21,6 +21,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
+#include <sys/sysmacros.h>
 #include <netinet/ether.h>
 #include <usbg/usbg.h>
 #include <usbg/function/ms.h>
index 66e950f..2f5cc45 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 #include <stdio.h>
+#include <sys/sysmacros.h>
 #include <usbg/usbg.h>
 
 int main(void)
index ac51758..3fa55c0 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef USBG_INTERNAL_LIBCONFIG_H
 #define USBG_INTERNAL_LIBCONFIG_H
 
+#include <sys/sysmacros.h>
 #include <libconfig.h>
 #ifdef __cplusplus
 extern "C" {