diff --git a/src/ChangeLog b/src/ChangeLog index fc940b9b7..4f6ca3d89 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * tty.h (printwstr): Added a function to print a string left-aligned in a bounded box. + * unixcompat.h (major/minor): Added support for AIX. 2005-01-25 Roland Illig diff --git a/src/unixcompat.h b/src/unixcompat.h index 434d2ea39..ac7a8153f 100644 --- a/src/unixcompat.h +++ b/src/unixcompat.h @@ -14,6 +14,9 @@ #ifdef HAVE_SYS_MKDEV_H # include /* Solaris 9 */ #endif +#ifdef HAVE_SYS_SYSMACROS_H +# include /* AIX */ +#endif #ifndef major # define major(devnum) (((devnum) >> 8) & 0xff)