summaryrefslogtreecommitdiff
path: root/sys-utils
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-14 15:03:21 -0500
committerKarel Zak <kzak@redhat.com>2008-02-15 01:36:19 +0100
commitc41e1340671cf1881a8ace9b962167d65ccd7e81 (patch)
tree4d456b290b3f146bf7b93002896a4fb783f540e1 /sys-utils
parent93bf0f285d2479a9cccfa569d0fa70377b531f81 (diff)
downloadutil-linux-old-c41e1340671cf1881a8ace9b962167d65ccd7e81.tar.gz
rtcwake: include libgen.h for basename prototype
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/rtcwake.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c
index d9c9fbbf..a4fd8331 100644
--- a/sys-utils/rtcwake.c
+++ b/sys-utils/rtcwake.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <getopt.h>
#include <fcntl.h>
+#include <libgen.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>