summaryrefslogtreecommitdiffstats
path: root/crypto/bf/bfspeed.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bf/bfspeed.c')
-rw-r--r--crypto/bf/bfspeed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bf/bfspeed.c b/crypto/bf/bfspeed.c
index 640d820dd3..30db62b234 100644
--- a/crypto/bf/bfspeed.c
+++ b/crypto/bf/bfspeed.c
@@ -92,7 +92,8 @@ struct tms {
#include <sys/timeb.h>
#endif
-#ifdef sun
+#if defined(sun) || defined(__ultrix)
+#define _POSIX_SOURCE
#include <limits.h>
#include <sys/param.h>
#endif