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

  1. #ifndef STRUCT_INPCB_H
  2. #define STRUCT_INPCB_H
  3.  
  4. /* On an optimal system, this file would contain solely: */
  5. /* #include <netinet/in_pcb.h> */
  6.  
  7. #include "structsocket.h" /* sigh... dynix */
  8. #include "confsyncsema.h"
  9. #include <sys/types.h>
  10. #ifndef SOCK_STREAM
  11. #include <sys/socket.h>
  12. #endif
  13. #ifdef SYNCSEMA
  14. #include <sync/queue.h>
  15. #include <sync/sema.h>
  16. #ifndef MSIZE
  17. #include <sys/mbuf.h> /* dorks */
  18. #endif
  19. #endif
  20. #ifndef RTF_UP
  21. #include <net/route.h>
  22. #endif
  23. #ifndef IPPROTO_TCP
  24. #include <netinet/in.h>
  25. #endif
  26. #include <netinet/in_pcb.h> /* XXX: any way to bracket this? */
  27.  
  28. #endif
  29.