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.9 by root, Sun Jan 22 16:36:40 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 broken bsds for NULL used in sys/uio.h
29
30#include <sys/types.h>
28#include <sys/uio.h> 31#include <sys/uio.h>
29#include <sys/types.h>
30#include <sys/socket.h> 32#include <sys/socket.h>
31 33
32#include "libptytty.h" 34#include "libptytty.h"
33 35
34#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
35# define CMSG_LEN(len) (sizeof (cmsghdr) + len) 37# define CMSG_LEN(len) (sizeof (cmsghdr) + len)
36#endif 38#endif
37 39
38bool 40bool
39ptytty::send_fd (int socket, int fd) 41ptytty::send_fd (int socket, int fd)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines