Changeset 1543249 in rtems-libbsd


Ignore:
Timestamp:
Jul 11, 2012, 10:54:57 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
8db44c6
Parents:
939b12b
Message:

port_before.h: Add _ALIGNBYTES and enable getservent.c

Location:
freebsd-userspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/Makefile

    r939b12b r1543249  
    5454C_FILES += lib/libc/net/getprotoent.c
    5555C_FILES += lib/libc/net/getprotoname.c
    56 # _ALIGNBYTES needs to be addressed
    57 # C_FILES += lib/libc/net/getservent.c
     56C_FILES += lib/libc/net/getservent.c
    5857C_FILES += lib/libc/gen/gethostname.c
    5958C_FILES += lib/libc/nameser/ns_name.c
  • freebsd-userspace/local/port_before.h

    r939b12b r1543249  
    1111#define __ssize_t ssize_t
    1212#endif
     13
     14/*
     15 * lib/libc/net/getservent.c needs _ALIGNBYTES and there seems to be no
     16 * clean way to get it from the FreeBSD kernel code.
     17 *
     18 * Duplicated from freebsd/sys/param.h
     19 */
     20#ifndef _ALIGNBYTES
     21#define _ALIGNBYTES     (sizeof(long) - 1)
     22#endif
     23
Note: See TracChangeset for help on using the changeset viewer.