lobase

Linux port of OpenBSDs userland.
Log | Files | Refs | README

commit 85f6574b80f1d6d734da25fa8746a428911a6117
parent e6797f725c947f5c02fca20c20e4ab5aba86c251
Author: Duncaen <mail@duncano.de>
Date:   Mon,  6 Mar 2017 19:36:00 +0100

include/sys/types.h: add to shut up glibc major/minor deprecation warnings

Diffstat:
include/sys/types.h | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/sys/types.h b/include/sys/types.h @@ -0,0 +1,10 @@ +#ifndef _COMPAT_SYS_TYPES_H_ +#define _COMPAT_SYS_TYPES_H_ +/* + * for major()/minor() macros with glibc, needs to be included before + * <sys/types.h> + */ +#include <sys/sysmacros.h> +#endif /* _COMPAT_SYS_TYPES_H_ */ + +#include_next <sys/types.h>