summaryrefslogtreecommitdiff
path: root/pr/src/md/mac/macsockotpt.c
diff options
context:
space:
mode:
authorsdagley%netscape.com <devnull@localhost>1999-10-06 01:03:00 +0000
committersdagley%netscape.com <devnull@localhost>1999-10-06 01:03:00 +0000
commitfa703ef29122d2bce7e0195b2cd4172a4b340835 (patch)
tree2a084fa7cd24ffba39e95789f919efabb14cb59d /pr/src/md/mac/macsockotpt.c
parent53e495c568dafc43a6ac3c405b6ee65cc7ee6bad (diff)
downloadnspr-hg-fa703ef29122d2bce7e0195b2cd4172a4b340835.tar.gz
Included some new header files, so that building with 'require function prototypes' works better. r=sfraser
Diffstat (limited to 'pr/src/md/mac/macsockotpt.c')
-rw-r--r--pr/src/md/mac/macsockotpt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pr/src/md/mac/macsockotpt.c b/pr/src/md/mac/macsockotpt.c
index dd9f5ad7..ab6409bc 100644
--- a/pr/src/md/mac/macsockotpt.c
+++ b/pr/src/md/mac/macsockotpt.c
@@ -19,8 +19,11 @@
/* This turns on UNIX style errors in OT 1.1 headers */
#define OTUNIXERRORS 1
+#include <string.h>
+
#include <Gestalt.h>
#include <OpenTransport.h>
+#include <OSUtils.h>
#define GESTALT_OPEN_TPT_PRESENT gestaltOpenTptPresentMask
#define GESTALT_OPEN_TPT_TCP_PRESENT gestaltOpenTptTCPPresentMask
@@ -534,7 +537,7 @@ TryAgain:
ErrorExit:
if ((err == kOTNoAddressErr) && (++retryCount <= 4)) {
- long finalTicks;
+ unsigned long finalTicks;
Delay(100,&finalTicks);
goto TryAgain;