summaryrefslogtreecommitdiff
path: root/lib/root-dev-ino.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-26 06:55:57 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-26 06:55:57 +0000
commit8f8f1d01884eadb85326f2bacbb80944aa01f871 (patch)
tree385297b3971c6d9e1c79ff0a4a51975b063a7f43 /lib/root-dev-ino.c
parent967e0c11eaecf01a8596b8b48e8ef8edc85318fd (diff)
downloadcoreutils-8f8f1d01884eadb85326f2bacbb80944aa01f871.tar.xz
Include <config.h> unconditionally, since we now assume config.h exists.
Diffstat (limited to 'lib/root-dev-ino.c')
-rw-r--r--lib/root-dev-ino.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/root-dev-ino.c b/lib/root-dev-ino.c
index 9b03a121b..a78541212 100644
--- a/lib/root-dev-ino.c
+++ b/lib/root-dev-ino.c
@@ -1,5 +1,5 @@
/* root-dev-ino.c -- get the device and inode numbers for `/'.
- Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -17,13 +17,12 @@
/* Written by Jim Meyering. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
-#include <stdlib.h>
#include "root-dev-ino.h"
+#include <stdlib.h>
+
/* Call lstat to get the device and inode numbers for `/'.
Upon failure, return NULL. Otherwise, set the members of
*ROOT_D_I accordingly and return ROOT_D_I. */