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:
parent
6ffbb21559
commit
45c14ef4d5
6 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <linux/usb/ch9.h>
|
||||
#include <usbg/usbg.h>
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <usbg/usbg.h>
|
||||
|
||||
int main(void)
|
||||
|
|
|
@ -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" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue