summaryrefslogtreecommitdiffstats
path: root/lib/procutils.c
diff options
context:
space:
mode:
authorSamuel Thibault2011-06-20 12:48:35 +0200
committerKarel Zak2011-06-20 12:48:35 +0200
commit4585ec0b29c28a9c09f69c57ab0f40a69e2d641a (patch)
treedce10567333a912fc3c01dd38a04c8bea3fe085b /lib/procutils.c
parentmount: add ufstype=ufs2 to mount.8 (diff)
downloadkernel-qcow2-util-linux-4585ec0b29c28a9c09f69c57ab0f40a69e2d641a.tar.gz
kernel-qcow2-util-linux-4585ec0b29c28a9c09f69c57ab0f40a69e2d641a.tar.xz
kernel-qcow2-util-linux-4585ec0b29c28a9c09f69c57ab0f40a69e2d641a.zip
misc: hurd build fixes
* Make blkdev_is_misaligned return 0 when BLKALIGNOFF is not available. * Make procutils.c include c.h to get a PATH_MAX replacement. * Provide agetty.c USE_SYSLOG, DEFAULT_VCTERM and DEFAULT_STERM defaults for Hurd. * Make agetty.c only deal with OFDEL, XCASE and VSWTCH if they are available. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/procutils.c')
-rw-r--r--lib/procutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/procutils.c b/lib/procutils.c
index 6a9ee7434..2c9e83722 100644
--- a/lib/procutils.c
+++ b/lib/procutils.c
@@ -23,6 +23,7 @@
#include <ctype.h>
#include "procutils.h"
+#include "c.h"
/*
* @pid: process ID for which we want to obtain the threads group