[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: get_header_tar.c: makedev [PATCH]
From:       Shaun Jackman <sjackman () gmail ! com>
Date:       2005-09-30 17:31:31
Message-ID: 7f45d9390509301031k7ffd572r () mail ! gmail ! com
[Download RAW message or body]

2005/9/28, Rob Landley <rob@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@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"
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic