home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3296 / structsocket.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-07  |  406 b   |  20 lines

  1. #ifndef STRUCT_SOCKET_H
  2. #define STRUCT_SOCKET_H
  3.  
  4. /* On an optimal system, this file would contain solely: */
  5. /* #include <sys/socketvar.h> */
  6.  
  7. #include <sys/types.h>
  8. #include "confsocketneedsxnode.h"
  9. #ifdef SOCKETNEEDSXNODE
  10. #include "structxnode.h" /* easier than copying */
  11. #endif
  12. #ifndef SOCK_STREAM
  13. #include <sys/socket.h>
  14. #endif
  15. #ifndef SS_ISCONNECTED /*XXX*/
  16. #include <sys/socketvar.h>
  17. #endif
  18.  
  19. #endif
  20.