Mercurial > hg > xemacs-beta
comparison lib-src/tcp.c @ 978:13e47461d509
[xemacs-hg @ 2002-08-29 19:45:20 by james]
Include syssignal.h instead of signal.h. Move NSIG setting code for SVR4
to syssignal.h.
author | james |
---|---|
date | Thu, 29 Aug 2002 19:45:34 +0000 |
parents | 023b83f4e54b |
children | cd167465bf69 061f4f90f874 |
comparison
equal
deleted
inserted
replaced
977:b6b74d181b7f | 978:13e47461d509 |
---|---|
30 * | 30 * |
31 * For Fujitsu UTS compile with: | 31 * For Fujitsu UTS compile with: |
32 * cc -O -o tcp tcp.c -DFUJITSU_UTS -lu -lsocket | 32 * cc -O -o tcp tcp.c -DFUJITSU_UTS -lu -lsocket |
33 */ | 33 */ |
34 | 34 |
35 #ifdef HAVE_CONFIG_H | |
36 #include <config.h> | |
37 #endif | |
35 #include <stdio.h> | 38 #include <stdio.h> |
36 #include <fcntl.h> | 39 #include <fcntl.h> |
37 #include <ctype.h> | 40 #include <ctype.h> |
38 #include <sys/types.h> | 41 #include <sys/types.h> |
39 | 42 |
49 #include <netinet/in.h> | 52 #include <netinet/in.h> |
50 #endif | 53 #endif |
51 | 54 |
52 #ifdef USG | 55 #ifdef USG |
53 #include <sys/stat.h> | 56 #include <sys/stat.h> |
54 #include <signal.h> | 57 #include "syssignal.h" |
55 #endif | 58 #endif |
56 | 59 |
57 #ifdef USG | 60 #ifdef USG |
58 int selectable = 1; | 61 int selectable = 1; |
59 | 62 |