--- rxvt-unicode/src/rxvtcolor.C 2004/04/02 20:41:01 1.12 +++ rxvt-unicode/src/rxvtcolor.C 2004/04/04 23:47:29 1.13 @@ -160,7 +160,7 @@ int fd = XConnectionNumber (display); x_ev.start (fd, EVENT_READ); - fcntl (fd, F_SETFL, FD_CLOEXEC); + fcntl (fd, F_SETFD, FD_CLOEXEC); XSelectInput (display, root, PropertyChangeMask); xa_xim_servers = XInternAtom (display, "XIM_SERVERS", 0);