summaryrefslogtreecommitdiff
path: root/lib/file-type.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/file-type.h')
-rw-r--r--lib/file-type.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/file-type.h b/lib/file-type.h
index c766d6c21..502f09163 100644
--- a/lib/file-type.h
+++ b/lib/file-type.h
@@ -1,6 +1,6 @@
/* Return a string describing the type of a file.
- Copyright (C) 1993, 1994, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 2001, 2002, 2004 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
@@ -138,6 +138,15 @@ char const *file_type (struct stat const *);
# endif
+# ifndef S_TYPEISMQ
+# define S_TYPEISMQ(p) 0
+# endif
+
+# ifndef S_TYPEISTMO
+# define S_TYPEISTMO(p) 0
+# endif
+
+
# ifndef S_TYPEISSEM
# ifdef S_INSEM
# define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM)
@@ -154,8 +163,4 @@ char const *file_type (struct stat const *);
# endif
# endif
-# ifndef S_TYPEISMQ
-# define S_TYPEISMQ(p) 0
-# endif
-
#endif /* FILE_TYPE_H */