aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/bootchartd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/bootchartd.c b/init/bootchartd.c
index c7388c99e..5101b28ae 100644
--- a/init/bootchartd.c
+++ b/init/bootchartd.c
@@ -47,6 +47,7 @@
47//config: and /etc/bootchartd.conf files. 47//config: and /etc/bootchartd.conf files.
48 48
49#include "libbb.h" 49#include "libbb.h"
50#include "common_bufsiz.h"
50/* After libbb.h, since it needs sys/types.h on some systems */ 51/* After libbb.h, since it needs sys/types.h on some systems */
51#include <sys/utsname.h> 52#include <sys/utsname.h>
52 53
@@ -115,7 +116,7 @@
115struct globals { 116struct globals {
116 char jiffy_line[COMMON_BUFSIZE]; 117 char jiffy_line[COMMON_BUFSIZE];
117} FIX_ALIASING; 118} FIX_ALIASING;
118#define G (*(struct globals*)&bb_common_bufsiz1) 119#define G (*(struct globals*)bb_common_bufsiz1)
119#define INIT_G() do { } while (0) 120#define INIT_G() do { } while (0)
120 121
121static void dump_file(FILE *fp, const char *filename) 122static void dump_file(FILE *fp, const char *filename)