get_header_tar.c: makedev [PATCH]

Shaun Jackman sjackman at gmail.com
Fri Sep 30 17:31:31 UTC 2005


2005/9/28, Rob Landley <rob at landley.net>:
> I just checked and uClibc-0.9.28 also has makedev in sys/sysmacros.h, so
> #include that unconditionally.  (If it works on glibc, uClibc, and newlib,
> that's good enough for me.)
>
> Rob

Please apply.

Cheers,
Shaun

2005-09-28  Shaun Jackman  <sjackman at gmail.com>

       * archival/libunarchive/get_header_tar.c: Include sys/sysmacros.h
       for makedev.

--- archival/libunarchive/get_header_tar.c      (revision 11704)
+++ archival/libunarchive/get_header_tar.c      (working copy)
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/sysmacros.h>
 #include "unarchive.h"
 #include "libbb.h"



More information about the busybox mailing list