diff options
author | Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> | 2018-09-10 15:52:09 +0200 |
---|---|---|
committer | Andrey Kazmin <a.kazmin@partner.samsung.com> | 2019-12-12 12:44:52 +0300 |
commit | 100a8914610c8edc0139df1e3bbe4a2f75e5fda5 (patch) | |
tree | 5baa16e2015ad52fc6458615bb3eecd384f83d39 | |
parent | 9e71df567e5e489419a7095f2885f64ffff4e058 (diff) | |
download | libusbg-sandbox/akazmin/tizen_6.0_build.tar.gz libusbg-sandbox/akazmin/tizen_6.0_build.tar.bz2 libusbg-sandbox/akazmin/tizen_6.0_build.zip |
libusbgx: fix build with glibc-2.28 since <sys/sysmacros.h> is no more included by <sys/types.h>sandbox/akazmin/tizen_6.0_build
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>
-rw-r--r-- | examples/gadget-acm-ecm.c | 1 | ||||
-rw-r--r-- | examples/gadget-import.c | 1 | ||||
-rw-r--r-- | examples/gadget-ms.c | 1 | ||||
-rw-r--r-- | examples/show-gadgets.c | 1 | ||||
-rw-r--r-- | examples/show-udcs.c | 1 | ||||
-rw-r--r-- | include/usbg/usbg_internal_libconfig.h | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/examples/gadget-acm-ecm.c b/examples/gadget-acm-ecm.c index 1c5e2ca..29360da 100644 --- a/examples/gadget-acm-ecm.c +++ b/examples/gadget-acm-ecm.c @@ -20,6 +20,7 @@ #include <errno.h> #include <stdio.h> +#include <sys/sysmacros.h> #include <linux/usb/ch9.h> #include <usbg/usbg.h> diff --git a/examples/gadget-import.c b/examples/gadget-import.c index e684fdb..63df449 100644 --- a/examples/gadget-import.c +++ b/examples/gadget-import.c @@ -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) diff --git a/examples/gadget-ms.c b/examples/gadget-ms.c index 478c370..a5c6681 100644 --- a/examples/gadget-ms.c +++ b/examples/gadget-ms.c @@ -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> diff --git a/examples/show-gadgets.c b/examples/show-gadgets.c index 707d448..a2a21c8 100644 --- a/examples/show-gadgets.c +++ b/examples/show-gadgets.c @@ -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> diff --git a/examples/show-udcs.c b/examples/show-udcs.c index 66e950f..2f5cc45 100644 --- a/examples/show-udcs.c +++ b/examples/show-udcs.c @@ -23,6 +23,7 @@ #include <errno.h> #include <stdio.h> +#include <sys/sysmacros.h> #include <usbg/usbg.h> int main(void) diff --git a/include/usbg/usbg_internal_libconfig.h b/include/usbg/usbg_internal_libconfig.h index ac51758..3fa55c0 100644 --- a/include/usbg/usbg_internal_libconfig.h +++ b/include/usbg/usbg_internal_libconfig.h @@ -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" { |