summaryrefslogtreecommitdiff
path: root/archival/cpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/cpio.c')
-rw-r--r--archival/cpio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/cpio.c b/archival/cpio.c
index 82b3fe5..a3036e1 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -11,6 +11,7 @@
* Only supports new ASCII and CRC formats
*/
#include "libbb.h"
+#include "common_bufsiz.h"
#include "bb_archive.h"
//config:config CPIO
@@ -170,7 +171,7 @@ enum {
struct globals {
struct bb_uidgid_t owner_ugid;
} FIX_ALIASING;
-#define G (*(struct globals*)&bb_common_bufsiz1)
+#define G (*(struct globals*)bb_common_bufsiz1)
void BUG_cpio_globals_too_big(void);
#define INIT_G() do { \
G.owner_ugid.uid = -1L; \