… | |
… | |
60 | #ifdef DISPLAY_IS_IP |
60 | #ifdef DISPLAY_IS_IP |
61 | /* On Solaris link with -lsocket and -lnsl */ |
61 | /* On Solaris link with -lsocket and -lnsl */ |
62 | #include <sys/types.h> |
62 | #include <sys/types.h> |
63 | #include <sys/socket.h> |
63 | #include <sys/socket.h> |
64 | |
64 | |
65 | /* these next two are probably only on Sun (not Solaris) */ |
65 | /* these next is probably only on Sun (not Solaris) */ |
66 | #ifdef HAVE_SYS_SOCKIO_H |
66 | #ifdef HAVE_SYS_SOCKIO_H |
67 | #include <sys/sockio.h> |
67 | #include <sys/sockio.h> |
68 | #endif |
|
|
69 | #ifdef HAVE_SYS_BYTEORDER_H |
|
|
70 | #include <sys/byteorder.h> |
|
|
71 | #endif |
68 | #endif |
72 | |
69 | |
73 | #include <netinet/in.h> |
70 | #include <netinet/in.h> |
74 | #include <arpa/inet.h> |
71 | #include <arpa/inet.h> |
75 | #include <net/if.h> |
72 | #include <net/if.h> |