--- rxvt-unicode/src/fdpass.C 2006/01/13 07:03:48 1.3 +++ rxvt-unicode/src/fdpass.C 2006/01/22 00:53:56 1.7 @@ -21,23 +21,19 @@ *----------------------------------------------------------------------*/ #include "../config.h" -#include "rxvt.h" - -#if ENABLE_FRILLS && HAVE_UNIX_FDPASS +#include #include #include -#include "fdpass.h" - -#include //d +#include "libptytty.h" #ifndef CMSG_LEN // CMSG_SPACe && CMSG_LEN are rfc2292 extensions to unix # define CMSG_LEN(len) (sizeof (cmsghdr) + len) #endif int -rxvt_send_fd (int socket, int fd) +ptytty::send_fd (int socket, int fd) { msghdr msg; iovec iov; @@ -67,7 +63,7 @@ } int -rxvt_recv_fd (int socket) +ptytty::recv_fd (int socket) { msghdr msg; iovec iov; @@ -102,5 +98,3 @@ return *(int *)CMSG_DATA (cmsg); } -#endif -