Windows-support changes
[yaz-moved-to-github.git] / odr / ber_int.c
index c22f7d5..7e51ff6 100644 (file)
@@ -4,7 +4,13 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: ber_int.c,v $
- * Revision 1.7  1995-05-16 08:50:44  quinn
+ * Revision 1.9  1995-09-28 10:12:39  quinn
+ * Windows-support changes
+ *
+ * Revision 1.8  1995/09/27  15:02:55  quinn
+ * Modified function heads & prototypes.
+ *
+ * Revision 1.7  1995/05/16  08:50:44  quinn
  * License, documentation, and memory fixes
  *
  * Revision 1.6  1995/04/18  08:15:14  quinn
 
 #include <odr.h>
 #include <sys/types.h>
+#ifdef WINDOWS
+#include <winsock.h>
+#else
 #include <netinet/in.h>  /* for htons... */
+#endif
 #include <string.h>
 
 static int ber_encinteger(ODR o, int val);
 static int ber_decinteger(unsigned char *buf, int *val);
 
-int ber_integer(ODR o, int *val)
+int MDF ber_integer(ODR o, int *val)
 {
     int res;