get_header_tar.c: makedev [PATCH]
Shaun Jackman
sjackman at gmail.com
Thu Sep 29 04:54:45 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
Works for me.
Cheers,
Shaun
2005-04-06 Shaun Jackman <sjackman at gmail.com>
* archival/libunarchive/get_header_tar.c: Include sys/sysmacros.h
for makedev.
Index: archival/libunarchive/get_header_tar.c
===================================================================
--- archival/libunarchive/get_header_tar.c (revision 10071)
+++ 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> // for makedev
#include "unarchive.h"
#include "libbb.h"
More information about the busybox
mailing list