Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / libgcrypt / patches / patch-ae
blobc1714f23fe8765857d2be899180460b00d3f5993
1 $NetBSD$
3 --- src/ath.h.orig      2011-02-04 19:17:33.000000000 +0000
4 +++ src/ath.h
5 @@ -98,6 +104,14 @@ struct ath_ops
6    int (*connect) (int s, void *addr, int length);
7    int (*sendmsg) (int s, const void *msg, int flags);
8    int (*recvmsg) (int s, void *msg, int flags);
9 +#elif defined(__INTERIX)
10 +  ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
11 +                    struct timeval *timeout);
12 +  ssize_t (*waitpid) (pid_t pid, int *status, int options);
13 +  int (*accept) (int s, struct sockaddr *addr, socklen_t *length_ptr);
14 +  int (*connect) (int s, struct sockaddr *addr, socklen_t length);
15 +  int (*sendmsg) (int s, const void *msg, int flags);
16 +  int (*recvmsg) (int s, void *msg, int flags);
17  #else
18    ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
19                      struct timeval *timeout);
20 @@ -134,6 +148,14 @@ int ath_accept (int s, void *addr, int *
21  int ath_connect (int s, void *addr, int length);
22  int ath_sendmsg (int s, const void *msg, int flags);
23  int ath_recvmsg (int s, void *msg, int flags);
24 +#elif defined(__INTERIX)
25 +ssize_t ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
26 +                   struct timeval *timeout);
27 +ssize_t ath_waitpid (pid_t pid, int *status, int options);
28 +int ath_accept (int s, struct sockaddr *addr, socklen_t *length_ptr);
29 +int ath_connect (int s, struct sockaddr *addr, socklen_t length);
30 +int ath_sendmsg (int s, const void *msg, int flags);
31 +int ath_recvmsg (int s, void *msg, int flags);
32  #else
33  ssize_t ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
34                     struct timeval *timeout);