From: Josiah Worcester <josiahw@gmail.com>
To: util-linux@vger.kernel.org
Cc: Josiah Worcester <josiahw@gmail.com>
Subject: [PATCH 2/6] fsck, checktty, flock: Use more portable includes.
Date: Wed, 8 Jun 2011 16:52:44 -0600 [thread overview]
Message-ID: <1307573568-23643-3-git-send-email-josiahw@gmail.com> (raw)
In-Reply-To: <1307573568-23643-1-git-send-email-josiahw@gmail.com>
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
---
fsck/fsck.c | 2 +-
login-utils/checktty.c | 3 +++
sys-utils/flock.c | 2 ++
3 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/fsck/fsck.c b/fsck/fsck.c
index 0d5feda..9153367 100644
--- a/fsck/fsck.c
+++ b/fsck/fsck.c
@@ -29,7 +29,7 @@
#include <sys/types.h>
#include <sys/wait.h>
-#include <sys/signal.h>
+#include <signal.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <fcntl.h>
diff --git a/login-utils/checktty.c b/login-utils/checktty.c
index f849057..518b701 100644
--- a/login-utils/checktty.c
+++ b/login-utils/checktty.c
@@ -22,7 +22,10 @@
#include <malloc.h>
#include <netdb.h>
#include <sys/syslog.h>
+#include <sys/socket.h>
#include <ctype.h>
+#include <limits.h>
+#include <netinet/in.h>
#include "nls.h"
#include <sys/sysmacros.h>
diff --git a/sys-utils/flock.c b/sys-utils/flock.c
index 20004ca..c7fb70e 100644
--- a/sys-utils/flock.c
+++ b/sys-utils/flock.c
@@ -39,6 +39,8 @@
#include <sys/file.h>
#include <sys/time.h>
#include <sys/wait.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#include "nls.h"
--
1.7.5.3
next prev parent reply other threads:[~2011-06-08 22:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-08 22:52 [PATCH 0/6] Build with musl libc Josiah Worcester
2011-06-08 22:52 ` [PATCH 1/6] fdisk, display, hexdump.h: Use standard C types instead of u_int, u_char, u_long, etc Josiah Worcester
2011-06-08 22:52 ` Josiah Worcester [this message]
2011-06-08 22:52 ` [PATCH 3/6] checktty: Use NGROUPS_MAX instead of NGROUPS Josiah Worcester
2011-06-09 19:31 ` Sami Kerola
2011-06-08 22:52 ` [PATCH 4/6] lib/tt.c: Fix mbs_width macro for systems without WIDECHAR Josiah Worcester
2011-06-08 22:52 ` [PATCH 5/6] test_sysinfo: Use CHAR_BIT*sizeof(void*) instead of __WORDSIZE Josiah Worcester
2011-06-08 22:52 ` [PATCH 6/6] hwclock: Don't use asm/io.h if sys/io.h can't be found Josiah Worcester
2011-06-09 0:58 ` Mike Frysinger
2011-06-14 12:26 ` Karel Zak
2011-06-14 12:24 ` [PATCH 0/6] Build with musl libc Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1307573568-23643-3-git-send-email-josiahw@gmail.com \
--to=josiahw@gmail.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox