Changeset cd450d2 in rtems-libbsd


Ignore:
Timestamp:
Aug 6, 2012, 12:10:35 AM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
f01bc1f4
Parents:
8f59c0a
Message:

librpc: now compiles

Files:
2 deleted
47 edited
2 moved

Legend:

Unmodified
Added
Removed
  • services/librpc/include/rpc/rpc_com.h

    r8f59c0a rcd450d2  
    5757__BEGIN_DECLS
    5858extern u_int __rpc_get_a_size(int);
    59 extern u_int __rpc_get_t_size(int, long);
     59#ifndef __rtems__
     60        /* XXX defined in old.. in new rpc.h as internal */
     61        extern u_int __rpc_get_t_size(int, long);
     62#endif
    6063extern int __rpc_dtbsize(void);
    6164extern int _rpc_dtablesize(void);
  • services/librpc/src/rpc/auth_none.c

    r8f59c0a rcd450d2  
    4646#endif
    4747
    48 #include <stdlib.h>
     48#include <freebsd/bsd.h>
    4949#include <rpc/types.h>
    5050#include <rpc/xdr.h>
  • services/librpc/src/rpc/auth_unix.c

    r8f59c0a rcd450d2  
    5050#endif
    5151
     52#include <freebsd/bsd.h>
    5253#include <stdio.h>
    5354#include <stdlib.h>
  • services/librpc/src/rpc/authunix_prot.c

    r8f59c0a rcd450d2  
    4646#endif
    4747
     48#include <freebsd/bsd.h>
    4849#include <rpc/types.h>
    4950#include <rpc/xdr.h>
  • services/librpc/src/rpc/bindresvport.c

    r8f59c0a rcd450d2  
    4747#endif
    4848
     49#include <freebsd/bsd.h>
    4950#include <sys/types.h>
    5051#include <sys/socket.h>
  • services/librpc/src/rpc/clnt_generic.c

    r8f59c0a rcd450d2  
    4141#endif
    4242
     43#include <freebsd/bsd.h>
     44#include <rpc/rpc.h>
    4345#include <rpc/rpc.h>
    4446#include <sys/socket.h>
  • services/librpc/src/rpc/clnt_perror.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
    4748#include <stdio.h>
    4849#include <stdlib.h>
     
    5253#include <rpc/auth.h>
    5354#include <rpc/clnt.h>
     55#ifdef __rtems__
     56#include <rpc/rpc_rtems.h>
     57#endif
    5458
    5559static char *auth_errmsg(enum auth_stat stat);
  • services/librpc/src/rpc/clnt_raw.c

    r8f59c0a rcd450d2  
    4949#endif
    5050
     51#include <freebsd/bsd.h>
    5152#include <rpc/rpc.h>
    5253#include <stdlib.h>
    5354#include <stdio.h>
     55#ifdef __rtems__
     56#include <rpc/rpc_rtems.h>
     57#endif
    5458
    5559#define MCALL_MSG_SIZE 24
     
    190194        }  /* end successful completion */
    191195        else {
    192                 if (AUTH_REFRESH(h->cl_auth))
     196                if (AUTH_REFRESH(h->cl_auth, &msg))
    193197                        goto call_again;
    194198        }  /* end of unsuccessful completion */
  • services/librpc/src/rpc/clnt_simple.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
    4748#include <sys/param.h>
    4849#include <stdio.h>
     
    5354#include <sys/socket.h>
    5455#include <netdb.h>
     56#ifdef __rtems__
     57#include <rpc/rpc_rtems.h>
     58#endif
    5559
    5660struct call_rpc_private {
     
    6468int
    6569callrpc(
    66         char *host,
     70        const char *host,
    6771        int prognum, int versnum, int procnum,
    68         xdrproc_t inproc, char *in,
    69         xdrproc_t outproc, char *out )
     72        xdrproc_t inproc, void *in,
     73        xdrproc_t outproc, void *out )
    7074{
    7175        register struct call_rpc_private *crp = callrpc_private;
  • services/librpc/src/rpc/clnt_tcp.c

    r8f59c0a rcd450d2  
    5757#endif
    5858
     59#include <freebsd/bsd.h>
    5960#include <stdio.h>
    6061#include <stdlib.h>
     
    331332        else {
    332333                /* maybe our credentials need to be refreshed ... */
    333                 if (refreshes-- && AUTH_REFRESH(h->cl_auth))
     334                if (refreshes-- && AUTH_REFRESH(h->cl_auth, &reply_msg))
    334335                        goto call_again;
    335336        }  /* end of unsuccessful completion */
     
    471472                break;
    472473
     474#ifndef __rtems__
     475        /* XXX defined in old.. not new */
    473476        case CLGET_LOCAL_ADDR:
    474477                len = sizeof(struct sockaddr);
     
    476479                        return(FALSE);
    477480                break;
     481#endif
    478482
    479483        case CLGET_RETRY_TIMEOUT:
  • services/librpc/src/rpc/clnt_udp.c

    r8f59c0a rcd450d2  
    4444#endif
    4545
     46#include <freebsd/bsd.h>
    4647#include <stdio.h>
    4748#include <stdlib.h>
     
    389390                else {
    390391                        /* maybe our credentials need to be refreshed ... */
    391                         if (nrefreshes > 0 && AUTH_REFRESH(cl->cl_auth)) {
     392                        if (nrefreshes > 0 && AUTH_REFRESH(cl->cl_auth, &reply_msg)) {
    392393                                nrefreshes--;
    393394                                goto call_again;
     
    550551                                = htonl(*(u_long *)info);
    551552                break;
     553#ifndef __rtems__
     554        /* XXX defined in old.. not new */
    552555        case CLGET_LOCAL_ADDR:
    553556                len = sizeof(struct sockaddr);
     
    555558                        return(FALSE);
    556559                break;
     560#endif
    557561        case CLGET_SVC_ADDR:
    558562        case CLSET_SVC_ADDR:
  • services/librpc/src/rpc/get_myaddress.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
    4748#include <rpc/types.h>
    4849#include <rpc/xdr.h>
     
    5152#include <stdio.h>
    5253#include <unistd.h>
    53 #include <sys/mbuf.h>
     54#ifndef __rtems__
     55        /* XXX old.. not new */
     56        #include <sys/mbuf.h>
     57#else
     58        #include <freebsd/sys/mbuf.h>
     59#endif
    5460#include <net/if.h>
    5561#include <sys/ioctl.h>
  • services/librpc/src/rpc/getrpcent.c

    r8f59c0a rcd450d2  
    4242#endif
    4343
     44#include <freebsd/bsd.h>
    4445#include <stdio.h>
    4546#include <stdlib.h>
  • services/librpc/src/rpc/getrpcport.c

    r8f59c0a rcd450d2  
    4242#endif
    4343
     44#include <freebsd/bsd.h>
    4445#include <stdio.h>
    4546#include <string.h>
  • services/librpc/src/rpc/netname.c

    r8f59c0a rcd450d2  
    4444#endif
    4545
     46#include <freebsd/bsd.h>
    4647#include <sys/param.h>
    4748#include <rpc/rpc.h>
     
    8990user2netname(
    9091        char netname[MAXNETNAMELEN + 1],
    91         uid_t uid,
    92         char *domain)
     92        const uid_t uid,
     93        const char *domain)
    9394{
    9495        char *dfltdom;
     
    116117host2netname(
    117118        char netname[MAXNETNAMELEN + 1],
    118         char *host,
    119         char *domain)
     119        const char *host,
     120        const char *domain)
    120121{
    121122        char *dfltdom;
  • services/librpc/src/rpc/netnamer.c

    r8f59c0a rcd450d2  
    4141#endif
    4242
     43#include <freebsd/bsd.h>
    4344#include <sys/param.h>
    4445#include <rpc/rpc.h>
  • services/librpc/src/rpc/pmap_clnt.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
    4748#include <sys/types.h>
    4849#include <sys/stat.h>
  • services/librpc/src/rpc/pmap_getmaps.c

    r8f59c0a rcd450d2  
    4646#endif
    4747
     48#include <freebsd/bsd.h>
    4849#include <rpc/rpc.h>
    4950#include <rpc/pmap_prot.h>
     
    5455#include <unistd.h>
    5556#include <errno.h>
    56 #include <sys/mbuf.h>
     57#ifndef __rtems__
     58        /* XXX fix for new location */
     59        #include <sys/mbuf.h>
     60#else
     61        #include <freebsd/sys/mbuf.h>
     62#endif
    5763#include <net/if.h>
    5864#include <sys/ioctl.h>
  • services/librpc/src/rpc/pmap_getport.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
    4748#include <rpc/rpc.h>
    4849#include <rpc/pmap_prot.h>
    4950#include <rpc/pmap_clnt.h>
    5051#include <sys/socket.h>
    51 #include <sys/mbuf.h>
     52#ifndef __rtems__
     53        /* XXX fix for new location */
     54        #include <sys/mbuf.h>
     55#else
     56        #include <freebsd/sys/mbuf.h>
     57#endif
    5258#include <net/if.h>
    5359#include <unistd.h>
  • services/librpc/src/rpc/pmap_prot.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
    4748#include <rpc/types.h>
    4849#include <rpc/xdr.h>
  • services/librpc/src/rpc/pmap_prot2.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
     48#ifndef __rtems__
     49        /* XXX not needed in old.. */
     50        #include <sys/types.h>
     51#endif
    4752#include <rpc/types.h>
    4853#include <rpc/xdr.h>
  • services/librpc/src/rpc/pmap_rmt.c

    r8f59c0a rcd450d2  
    249249}
    250250
     251#ifndef __rtems__
     252/* XXX now defined in rpc/clnt.h */
    251253typedef bool_t (*resultproc_t)(caddr_t, struct sockaddr_in *);
     254#endif
    252255
    253256enum clnt_stat
     
    257260        u_long          proc,           /* procedure number */
    258261        xdrproc_t       xargs,          /* xdr routine for args */
    259         caddr_t         argsp,          /* pointer to args */
     262        void *          argsp,          /* pointer to args */
    260263        xdrproc_t       xresults,       /* xdr routine for results */
    261         caddr_t         resultsp,       /* pointer to results */
     264        void *          resultsp,       /* pointer to results */
    262265        resultproc_t    eachresult      /* call with each result obtained */ )
    263266{
  • services/librpc/src/rpc/rpc.3

    r8f59c0a rcd450d2  
    14511451port, then this routine binds it to an arbitrary port.  Upon
    14521452completion,
    1453 \fB\%xprt\->xp_sock\fR
     1453\fB\%xprt\->xp_fd\fR
    14541454is the transport's socket descriptor, and
    14551455\fB\%xprt\->xp_port\fR
     
    15161516Upon
    15171517completion,
    1518 \fB\%xprt\->xp_sock\fR
     1518\fB\%xprt\->xp_fd\fR
    15191519is the transport's socket descriptor, and
    15201520\fB\%xprt\->xp_port\fR
  • services/librpc/src/rpc/rpc_callmsg.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
    4748#include <sys/param.h>
    4849#include <stdlib.h>
  • services/librpc/src/rpc/rpc_commondata.c

    r8f59c0a rcd450d2  
    3737#endif
    3838
     39#include <freebsd/bsd.h>
    3940#include <rpc/rpc.h>
     41#ifdef __rtems__
     42        #include <rpc/clnt.h>
     43#endif
     44
    4045/*
    4146 * This file should only contain common data (global data) that is exported
  • services/librpc/src/rpc/rpc_dtablesize.c

    r8f59c0a rcd450d2  
    3838#endif
    3939
     40#include <freebsd/bsd.h>
    4041#include <sys/types.h>
    4142#include <unistd.h>
  • services/librpc/src/rpc/rpc_prot.c

    r8f59c0a rcd450d2  
    5151#endif
    5252
     53#include <freebsd/bsd.h>
    5354#include <assert.h>
    5455#include <sys/param.h>
  • services/librpc/src/rpc/rpcdname.c

    r8f59c0a rcd450d2  
    4141#endif
    4242
     43#include <freebsd/bsd.h>
    4344#include <stdlib.h>
    4445#include <unistd.h>
    4546#include <string.h>
    4647#include <rpc/rpc.h>
     48#ifdef __rtems__
     49        /* XXX in rpc.h in old .. not new */
     50        #include <rpc/rpc_rtems.h>
     51#endif
    4752
    4853int getdomainname(char *, size_t);
  • services/librpc/src/rpc/rtems_portmapper.c

    r8f59c0a rcd450d2  
    3232#endif
    3333
     34#include <freebsd/bsd.h>
    3435#include <rpc/rpc.h>
    3536#include <rpc/pmap_prot.h>
  • services/librpc/src/rpc/rtems_rpc.c

    r8f59c0a rcd450d2  
    77#endif
    88
     9#include <freebsd/bsd.h>
    910#include <rpc/rpc.h>
    1011#include <rtems.h>
    1112#include <stdlib.h>
     13#ifdef __rtems__
     14        /* XXX in rpc.h in old .. not new */
     15        #include <rpc/rpc_rtems.h>
     16#endif
    1217
    1318/*
  • services/librpc/src/rpc/rtime.c

    r8f59c0a rcd450d2  
    4747#endif
    4848
     49#include <freebsd/bsd.h>
    4950#include <stdlib.h>
    5051#include <string.h>
  • services/librpc/src/rpc/svc.c

    r8f59c0a rcd450d2  
    4848#endif
    4949
     50#include <freebsd/bsd.h>
    5051#include <string.h>
    5152#ifdef HAVE_STRINGS_H
     
    5657#include <rpc/rpc.h>
    5758#include <rpc/pmap_clnt.h>
     59#ifdef __rtems__
     60        /* XXX in rpc.h in old .. not new */
     61        #include <rpc/rpc_rtems.h>
     62#endif
    5863
    5964#define xports (rtems_rpc_task_variables->svc_xports)
     
    9196        SVCXPRT *xprt )
    9297{
    93         register int sock = xprt->xp_sock;
     98        register int sock = xprt->xp_fd;
    9499
    95100        if (sock + 1 > __svc_fdsetsize) {
     
    137142        SVCXPRT *xprt )
    138143{
    139         register int sock = xprt->xp_sock;
     144        register int sock = xprt->xp_fd;
    140145
    141146        if (xports[sock] == xprt) {
  • services/librpc/src/rpc/svc_auth.c

    r8f59c0a rcd450d2  
    5151#endif
    5252
     53#include <freebsd/bsd.h>
    5354#ifdef _KERNEL
    5455#include <sys/param.h>
     
    6566#endif
    6667#include <sys/types.h>
     68#ifdef __rtems__
     69        /* XXX in rpc.h in old .. not new */
     70        #include <rpc/rpc_rtems.h>
     71#endif
    6772
    6873/*
  • services/librpc/src/rpc/svc_auth_unix.c

    r8f59c0a rcd450d2  
    4949#endif
    5050
     51#include <freebsd/bsd.h>
    5152#include <stdio.h>
    5253#include <string.h>
  • services/librpc/src/rpc/svc_raw.c

    r8f59c0a rcd450d2  
    4747#endif
    4848
     49#include <freebsd/bsd.h>
    4950#include <rpc/rpc.h>
    5051#include <stdlib.h>
     52#ifdef __rtems__
     53        /* XXX in rpc.h in old .. not new */
     54        #include <rpc/rpc_rtems.h>
     55#endif
    5156
    5257/*
     
    8792                        return (0);
    8893        }
    89         srp->server.xp_sock = 0;
     94        srp->server.xp_fd = 0;
    9095        srp->server.xp_port = 0;
    9196        srp->server.xp_ops = &server_ops;
  • services/librpc/src/rpc/svc_run.c

    r8f59c0a rcd450d2  
    4343#endif
    4444
     45#include <freebsd/bsd.h>
    4546#include <rpc/rpc.h>
    4647#include <stdio.h>
     
    5253#include <string.h>
    5354#include <sys/select.h>
     55#ifdef __rtems__
     56#include <rpc/rpc_rtems.h>
     57#endif
    5458
    5559void
  • services/librpc/src/rpc/svc_simple.c

    r8f59c0a rcd450d2  
    4545#endif
    4646
     47#include <freebsd/bsd.h>
    4748#include <stdio.h>
    4849#include <stdlib.h>
     
    5556
    5657#include <inttypes.h> /* for PRIxx printf formats */
     58#ifdef __rtems__
     59#include <rpc/rpc_rtems.h>
     60#endif
    5761
    5862struct prog_lst {
  • services/librpc/src/rpc/svc_tcp.c

    r8f59c0a rcd450d2  
    4848#endif
    4949
     50#include <freebsd/bsd.h>
    5051#include <stdio.h>
    5152#include <stdlib.h>
     
    5758#include <errno.h>
    5859#include <sys/select.h>
     60#ifdef __rtems__
     61#include <rpc/rpc_rtems.h>
     62#endif
    5963
    6064/*
     
    120124 * binds it to an arbitrary port.  The routine then starts a tcp
    121125 * listener on the socket's associated port.  In any (successful) case,
    122  * xprt->xp_sock is the registered socket number and xprt->xp_port is the
     126 * xprt->xp_fd is the registered socket number and xprt->xp_port is the
    123127 * associated port number.
    124128 *
     
    185189        xprt->xp_ops = &svctcp_rendezvous_op;
    186190        xprt->xp_port = ntohs(addr.sin_port);
    187         xprt->xp_sock = sock;
     191        xprt->xp_fd = sock;
    188192        xprt_register(xprt);
    189193        return (xprt);
     
    234238        xprt->xp_ops = &svctcp_op;  /* truely deals with calls */
    235239        xprt->xp_port = 0;  /* this is a connection, not a rendezvouser */
    236         xprt->xp_sock = fd;
     240        xprt->xp_fd = fd;
    237241        xprt_register(xprt);
    238242    done:
     
    254258    again:
    255259        len = sizeof(struct sockaddr_in);
    256         if ((sock = accept(xprt->xp_sock, (struct sockaddr *)&addr,
     260        if ((sock = accept(xprt->xp_fd, (struct sockaddr *)&addr,
    257261            &len)) < 0) {
    258262                if (errno == EINTR)
     
    298302
    299303        xprt_unregister(xprt);
    300         (void)_RPC_close(xprt->xp_sock);
     304        (void)_RPC_close(xprt->xp_fd);
    301305        if (xprt->xp_port != 0) {
    302306                /* a rendezvouser socket */
     
    335339{
    336340        SVCXPRT *xprt = (SVCXPRT*) _xprt;
    337         register int sock = xprt->xp_sock;
     341        register int sock = xprt->xp_fd;
    338342        struct timeval start, delta, tv;
    339343        struct timeval tmp1, tmp2;
     
    407411
    408412        for (cnt = len; cnt > 0; cnt -= i, buf += i) {
    409                 if ((i = _RPC_write(xprt->xp_sock, buf, cnt)) < 0) {
     413                if ((i = _RPC_write(xprt->xp_fd, buf, cnt)) < 0) {
    410414                        ((struct tcp_conn *)(xprt->xp_p1))->strm_stat =
    411415                            XPRT_DIED;
  • services/librpc/src/rpc/svc_udp.c

    r8f59c0a rcd450d2  
    4646#endif
    4747
     48#include <freebsd/bsd.h>
    4849#include <stdio.h>
    4950#include <stdlib.h>
     
    9495 * If the socket, sock is not bound to a port then svcudp_create
    9596 * binds it to an arbitrary port.  In any (successful) case,
    96  * xprt->xp_sock is the registered socket number and xprt->xp_port is the
     97 * xprt->xp_fd is the registered socket number and xprt->xp_port is the
    9798 * associated port number.
    9899 * Once *xprt is initialized, it is registered as a transporter;
     
    154155        xprt->xp_ops = &svcudp_op;
    155156        xprt->xp_port = ntohs(addr.sin_port);
    156         xprt->xp_sock = sock;
     157        xprt->xp_fd = sock;
    157158        xprt_register(xprt);
    158159        return (xprt);
     
    188189    again:
    189190        xprt->xp_addrlen = sizeof(struct sockaddr_in);
    190         rlen = recvfrom(xprt->xp_sock, rpc_buffer(xprt), (int) su->su_iosz,
     191        rlen = recvfrom(xprt->xp_fd, rpc_buffer(xprt), (int) su->su_iosz,
    191192            0, (struct sockaddr *)&(xprt->xp_raddr), &(xprt->xp_addrlen));
    192193        if (rlen == -1 && errno == EINTR)
     
    201202        if (su->su_cache != NULL) {
    202203                if (cache_get(xprt, msg, &reply, &replylen)) {
    203                         (void) sendto(xprt->xp_sock, reply, (int) replylen, 0,
     204                        (void) sendto(xprt->xp_fd, reply, (int) replylen, 0,
    204205                          (struct sockaddr *) &xprt->xp_raddr, xprt->xp_addrlen);
    205206                        return (TRUE);
     
    224225        if (xdr_replymsg(xdrs, msg)) {
    225226                slen = (int)XDR_GETPOS(xdrs);
    226                 if (sendto(xprt->xp_sock, rpc_buffer(xprt), slen, 0,
     227                if (sendto(xprt->xp_fd, rpc_buffer(xprt), slen, 0,
    227228                    (struct sockaddr *)&(xprt->xp_raddr), xprt->xp_addrlen)
    228229                    == slen) {
     
    265266
    266267        xprt_unregister(xprt);
    267         (void)_RPC_close(xprt->xp_sock);
     268        (void)_RPC_close(xprt->xp_fd);
    268269        XDR_DESTROY(&(su->su_xdrs));
    269270        mem_free(rpc_buffer(xprt), su->su_iosz);
  • services/librpc/src/xdr/xdr.c

    r8f59c0a rcd450d2  
    4848#endif
    4949
     50#include <freebsd/bsd.h>
    5051#include <stdio.h>
    5152#include <stdlib.h>
     
    7879xdr_free(
    7980        xdrproc_t proc,
    80         char *objp)
     81        void *objp)
    8182{
    8283        XDR x;
  • services/librpc/src/xdr/xdr_array.c

    r8f59c0a rcd450d2  
    4747#endif
    4848
     49#include <freebsd/bsd.h>
    4950#include <stdio.h>
    5051#include <stdlib.h>
  • services/librpc/src/xdr/xdr_float.c

    r8f59c0a rcd450d2  
    4848#endif
    4949
     50#include <freebsd/bsd.h>
    5051#include <stdio.h>
    5152#include <sys/types.h>
  • services/librpc/src/xdr/xdr_mem.c

    r8f59c0a rcd450d2  
    4949#endif
    5050
     51#include <freebsd/bsd.h>
    5152#include <string.h>
    5253#include <rpc/types.h>
  • services/librpc/src/xdr/xdr_rec.c

    r8f59c0a rcd450d2  
    5454#endif
    5555
     56#include <freebsd/bsd.h>
    5657#include <stdio.h>
    5758#include <stdlib.h>
     
    146147        u_int sendsize,
    147148        u_int recvsize,
    148         caddr_t tcp_handle,
    149         int (*readit)(char*, char*, int),  /* like read, but pass it a tcp_handle, not sock */
    150         int (*writeit)(char*, char*, int)  /* like write, but pass it a tcp_handle, not sock */
     149        void *tcp_handle,
     150        int (*readit)(void*, void*, int),  /* like read, but pass it a tcp_handle, not sock */
     151        int (*writeit)(void*, void*, int)  /* like write, but pass it a tcp_handle, not sock */
    151152)
    152153{
     
    467468xdrrec_endofrecord(
    468469        XDR *xdrs,
    469         bool_t sendnow)
     470        int sendnow)
    470471{
    471472        RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
  • services/librpc/src/xdr/xdr_reference.c

    r8f59c0a rcd450d2  
    4747#endif
    4848
     49#include <freebsd/bsd.h>
    4950#include <stdio.h>
    5051#include <stdlib.h>
  • services/librpc/src/xdr/xdr_sizeof.c

    r8f59c0a rcd450d2  
    4040#endif
    4141
     42#include <freebsd/bsd.h>
    4243#include <rpc/types.h>
    4344#include <rpc/xdr.h>
  • services/librpc/src/xdr/xdr_stdio.c

    r8f59c0a rcd450d2  
    4848#endif
    4949
     50#include <freebsd/bsd.h>
    5051#include <rpc/types.h>
    5152#include <stdio.h>
Note: See TracChangeset for help on using the changeset viewer.