summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/port-aix.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index 79570a206..4abe00316 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -25,5 +25,16 @@
25 */ 25 */
26 26
27#ifdef _AIX 27#ifdef _AIX
28
29/* AIX 4.2.x doesn't have nanosleep but does have nsleep which is equivalent */
30#if !defined(HAVE_NANOSLEEP) && defined(HAVE_NSLEEP)
31# define nanosleep(a,b) nsleep(a,b)
32#endif
33
34/* For struct timespec on AIX 4.2.x */
35#ifdef HAVE_SYS_TIMERS_H
36# include <sys/timers.h>
37#endif
38
28void aix_usrinfo(struct passwd *pw); 39void aix_usrinfo(struct passwd *pw);
29#endif /* _AIX */ 40#endif /* _AIX */