ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/fdpass.C
(Generate patch)

Comparing rxvt-unicode/src/fdpass.C (file contents):
Revision 1.10 by root, Tue Jan 24 11:35:17 2006 UTC vs.
Revision 1.13 by ayin, Mon Sep 11 08:48:37 2006 UTC

23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 *----------------------------------------------------------------------*/ 24 *----------------------------------------------------------------------*/
25 25
26#include "../config.h" 26#include "../config.h"
27 27
28#include <cstddef> // needed by freebsd for NULL used in sys/uio.h 28#include <cstddef> // needed by broken bsds for NULL used in sys/uio.h
29 29
30#include <sys/types.h>
30#include <sys/uio.h> 31#include <sys/uio.h>
31#include <sys/types.h>
32#include <sys/socket.h> 32#include <sys/socket.h>
33 33
34#include "libptytty.h" 34#include "libptytty.h"
35 35
36#ifndef CMSG_LEN // CMSG_SPACe && CMSG_LEN are rfc2292 extensions to unix 36#ifndef CMSG_LEN // CMSG_SPACE && CMSG_LEN are rfc2292 extensions to unix
37# define CMSG_LEN(len) (sizeof (cmsghdr) + len) 37# define CMSG_LEN(len) (sizeof (cmsghdr) + len)
38#endif 38#endif
39 39
40bool 40bool
41ptytty::send_fd (int socket, int fd) 41ptytty::send_fd (int socket, int fd)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines