summaryrefslogtreecommitdiff
path: root/mpeix/mpeixish.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-24 23:23:50 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-24 23:23:50 +0000
commitfeb334998467cf1c2ce6355cb4372da98b963090 (patch)
treed5fd91b84de0cddb00f8006ef39d490885727307 /mpeix/mpeixish.h
parent6557ab03f6af50f3a62216c7f6466b808b1071d1 (diff)
downloadperl-feb334998467cf1c2ce6355cb4372da98b963090.tar.gz
MPE/iX update from Mark Bixby.
p4raw-id: //depot/perl@15483
Diffstat (limited to 'mpeix/mpeixish.h')
-rw-r--r--mpeix/mpeixish.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mpeix/mpeixish.h b/mpeix/mpeixish.h
index dc8cb1939a..e0375055eb 100644
--- a/mpeix/mpeixish.h
+++ b/mpeix/mpeixish.h
@@ -140,3 +140,16 @@ extern key_t ftok (char *pathname, char id);
extern char *gcvt (double value, int ndigit, char *buf);
extern int isnan (double value);
extern void srand48(long int seedval);
+
+/* various missing constants -- define 'em */
+
+#define PF_UNSPEC 0
+
+/* declarations for wrappers in mpeix.c */
+
+#include <time.h>
+#include <sys/time.h>
+
+extern int ftruncate(int fd, long wantsize);
+extern int gettimeofday( struct timeval *tp, struct timezone *tpz );
+extern int truncate(const char *pathname, off_t length);