mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-16 02:37:17 +08:00
24 lines
413 B
C
24 lines
413 B
C
#include <freebsd/bsd.h>
|
|
|
|
#include <freebsd/sys/_types.h>
|
|
/*
|
|
#ifndef _bsd_off_t
|
|
#define _bsd_off_t off_t
|
|
#endif
|
|
*/
|
|
|
|
#ifndef __ssize_t
|
|
#define __ssize_t ssize_t
|
|
#endif
|
|
|
|
/*
|
|
* lib/libc/net/getservent.c needs _ALIGNBYTES and there seems to be no
|
|
* clean way to get it from the FreeBSD kernel code.
|
|
*
|
|
* Duplicated from freebsd/sys/param.h
|
|
*/
|
|
#ifndef _ALIGNBYTES
|
|
#define _ALIGNBYTES (sizeof(long) - 1)
|
|
#endif
|
|
|