Compatibility with Universal Headers 3.3 or later.
authorwtc%netscape.com
Tue, 09 May 2000 23:49:23 +0000
changeset 1345 ee9e4b07651b101815b4fbf51c4d5025d26294d2
parent 1344 bf185f4bd64314d47ca2c92802b0c97539df8fed
child 1348 9f183b06c5e19501058d449bdb05c5ef5268a6b5
push idunknown
push userunknown
push dateunknown
Compatibility with Universal Headers 3.3 or later.
pr/src/md/mac/macsockotpt.c
--- a/pr/src/md/mac/macsockotpt.c
+++ b/pr/src/md/mac/macsockotpt.c
@@ -24,16 +24,22 @@
 #include <Gestalt.h>
 #include <OpenTransport.h>
 #include <OSUtils.h>
 
 #define GESTALT_OPEN_TPT_PRESENT        gestaltOpenTptPresentMask
 #define GESTALT_OPEN_TPT_TCP_PRESENT    gestaltOpenTptTCPPresentMask
 
 #include <OpenTptInternet.h>    // All the internet typedefs
+
+#if (UNIVERSAL_INTERFACES_VERSION >= 0x0330)
+// for some reason Apple removed this typedef.
+typedef struct OTConfiguration	OTConfiguration;
+#endif
+
 #include "primpl.h"
 
 typedef enum SndRcvOpCode {
     kSTREAM_SEND,
     kSTREAM_RECEIVE,
     kDGRAM_SEND,
     kDGRAM_RECEIVE
 } SndRcvOpCode;