From 291ba71b7972a0cb09f66510b171c7a4ce6bce36 Mon Sep 17 00:00:00 2001 From: andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> Date: Sat, 27 Jan 2001 08:24:39 +0000 Subject: Fix header file usage -- there were many unnecessary header files included in busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- dmesg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dmesg.c') diff --git a/dmesg.c b/dmesg.c index c220d9018..c21f84c9a 100644 --- a/dmesg.c +++ b/dmesg.c @@ -18,9 +18,11 @@ #include "busybox.h" #include <stdio.h> #include <stdlib.h> +#include <getopt.h> #if __GNU_LIBRARY__ < 5 - +#include <sys/syscall.h> +#include <linux/unistd.h> #ifndef __alpha__ # define __NR_klogctl __NR_syslog static inline _syscall3(int, klogctl, int, type, char *, b, int, len); -- cgit v1.2.3-55-g6feb