1
0
Fork 0
mirror of https://github.com/linux-usb-gadgets/libusbgx.git synced 2025-07-26 01:05:06 +03:00

libusbgx: fix build with glibc-2.28 since <sys/sysmacros.h> is no more included by <sys/types.h>

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>
This commit is contained in:
Gwenhael Goavec-Merou 2018-09-10 15:52:09 +02:00 committed by Krzysztof Opasiak
parent 6ffbb21559
commit 45c14ef4d5
6 changed files with 6 additions and 0 deletions

View file

@ -20,6 +20,7 @@
#include <errno.h>
#include <stdio.h>
#include <sys/sysmacros.h>
#include <linux/usb/ch9.h>
#include <usbg/usbg.h>

View 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)

View 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>

View 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>

View file

@ -23,6 +23,7 @@
#include <errno.h>
#include <stdio.h>
#include <sys/sysmacros.h>
#include <usbg/usbg.h>
int main(void)

View 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" {