summaryrefslogtreecommitdiff
path: root/lib/file-type.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-28 16:48:14 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-28 16:48:14 +0000
commit9eb4658295746cc5202764d6aeabd4939d7dc89e (patch)
tree6a05ce9ad4262e305ad926635c2f0436e0a12e47 /lib/file-type.c
parent142d83fcd69e311a237fbd3d5bac87a16140b822 (diff)
downloadcoreutils-9eb4658295746cc5202764d6aeabd4939d7dc89e.tar.xz
* file-type.c: Include file-type.h first.
* filetype.h: Don't assume <sys/stat.h> was included first.
Diffstat (limited to 'lib/file-type.c')
-rw-r--r--lib/file-type.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/file-type.c b/lib/file-type.c
index 6c25e77ba..93fff71b1 100644
--- a/lib/file-type.c
+++ b/lib/file-type.c
@@ -1,6 +1,7 @@
/* Return a string describing the type of a file.
- Copyright (C) 1993, 1994, 2001, 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 2001, 2002, 2004, 2005 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
@@ -22,9 +23,8 @@
# include <config.h>
#endif
-#include <sys/types.h>
-#include <sys/stat.h>
#include "file-type.h"
+
#include "stat-macros.h"
#include <gettext.h>