System headerfiles gathered in yconfig
[yaz-moved-to-github.git] / comstack / xmosi.c
index 43797cf..b769d26 100644 (file)
@@ -4,7 +4,13 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: xmosi.c,v $
- * Revision 1.11  1996-02-23 10:00:41  quinn
+ * Revision 1.13  1996-07-06 19:58:30  quinn
+ * System headerfiles gathered in yconfig
+ *
+ * Revision 1.12  1996/05/22  08:34:44  adam
+ * Added ifdef USE_XTIMOSI; so that 'make depend' works.
+ *
+ * Revision 1.11  1996/02/23 10:00:41  quinn
  * WAIS Work
  *
  * Revision 1.10  1996/02/10  12:23:13  quinn
@@ -89,6 +95,7 @@
  *
  */
 
+#ifdef USE_XTIMOSI
 /*
  * Glue layer for Peter Furniss' xtimosi package.
  */
 #include <string.h>
 #include <assert.h>
 
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
+#define YNETINCLUDE
+#include <yconfig.h>
 
 #include <comstack.h>
 #include <xmosi.h>
@@ -495,3 +499,5 @@ char *mosi_addrstr(COMSTACK h)
 {
     return "osi:[UNIMPLEMENTED]";
 }
+
+#endif