* filetype.h: Don't assume <sys/stat.h> was included first.
/* 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
# include <config.h>
#endif
-#include <sys/types.h>
-#include <sys/stat.h>
#include "file-type.h"
+
#include "stat-macros.h"
#include <gettext.h>
/* 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
#ifndef FILE_TYPE_H
# define FILE_TYPE_H 1
+# include <sys/types.h>
+# include <sys/stat.h>
+
char const *file_type (struct stat const *);
#endif /* FILE_TYPE_H */