summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-04-30 15:32:40 +0000
committerewt <devnull@localhost>1997-04-30 15:32:40 +0000
commitacb0a9c9289e0b57c735b42321ac3dbd37e576c4 (patch)
tree2c819edc3ad77a0ebe9eecac714c16245af55c66 /misc
parenta2bc26c4c4f5c8b5d48614e781999840d899306e (diff)
downloadlibrpm-tizen-acb0a9c9289e0b57c735b42321ac3dbd37e576c4.tar.gz
librpm-tizen-acb0a9c9289e0b57c735b42321ac3dbd37e576c4.tar.bz2
librpm-tizen-acb0a9c9289e0b57c735b42321ac3dbd37e576c4.zip
Look for S_IFSOCK and define it as 0 if it doesn't exist (this is for SCO).
CVS patchset: 1563 CVS date: 1997/04/30 15:32:40
Diffstat (limited to 'misc')
-rw-r--r--misc/miscfn.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/miscfn.h b/misc/miscfn.h
index 3d174cef1..e543069df 100644
--- a/misc/miscfn.h
+++ b/misc/miscfn.h
@@ -19,6 +19,10 @@
char *realpath(char *path, char resolved_path[]);
#endif
+#if ! HAVE_S_IFSOCK
+#define S_IFSOCK (0)
+#endif
+
#if ! HAVE_S_ISLNK
#define S_ISLNK(mode) ((mode) & S_IFLNK)
#endif