mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
add types.h
This commit is contained in:
25
include/sys/types.h
Normal file
25
include/sys/types.h
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Public domain
|
||||
* sys/types.h compatibility shim
|
||||
*/
|
||||
|
||||
#include_next <sys/types.h>
|
||||
|
||||
#ifndef LIBCOMPAT_SYS_TYPES_H
|
||||
#define LIBCOMPAT_SYS_TYPES_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include <_bsd_types.h>
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
|
||||
#define __dead __attribute__((__noreturn__))
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__)
|
||||
# define __bounded__(x, y, z)
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user