crux-ports

My CRUX Linux ports
Log | Files | Refs | README

include-sysmacros_h.diff (1210B)


      1 diff --git a/libutil/tty.c b/libutil/tty.c
      2 index bceb01e..8a2cd73 100644
      3 --- a/libutil/tty.c
      4 +++ b/libutil/tty.c
      5 @@ -1,6 +1,7 @@
      6  /* See LICENSE file for copyright and license details. */
      7  #include <sys/types.h>
      8  #include <sys/stat.h>
      9 +#include <sys/sysmacros.h>
     10  
     11  #include <fcntl.h>
     12  #include <dirent.h>
     13 diff --git a/mknod.c b/mknod.c
     14 index 8de35c7..518ecb0 100644
     15 --- a/mknod.c
     16 +++ b/mknod.c
     17 @@ -1,5 +1,6 @@
     18  /* See LICENSE file for copyright and license details. */
     19  #include <sys/stat.h>
     20 +#include <sys/sysmacros.h>
     21  #include <sys/types.h>
     22  
     23  #include <fcntl.h>
     24 diff --git a/mountpoint.c b/mountpoint.c
     25 index 8f205a2..9a31bbe 100644
     26 --- a/mountpoint.c
     27 +++ b/mountpoint.c
     28 @@ -1,5 +1,6 @@
     29  /* See LICENSE file for copyright and license details. */
     30  #include <sys/stat.h>
     31 +#include <sys/sysmacros.h>
     32  #include <sys/types.h>
     33  
     34  #include <mntent.h>
     35 diff --git a/stat.c b/stat.c
     36 index 220a659..7e7fa5e 100644
     37 --- a/stat.c
     38 +++ b/stat.c
     39 @@ -1,5 +1,6 @@
     40  /* See LICENSE file for copyright and license details. */
     41  #include <sys/stat.h>
     42 +#include <sys/sysmacros.h>
     43  #include <sys/types.h>
     44  
     45  #include <inttypes.h>
     46 @@ -86,4 +87,4 @@ main(int argc, char *argv[])
     47  	}
     48  
     49  	return ret;
     50 -}
     51 \ No newline at end of file
     52 +}