~mdw
/
sgt
/
agedu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make #inclusion of <features.h> conditional on autoconf telling us
[sgt/agedu]
/
agedu.h
diff --git
a/agedu.h
b/agedu.h
index
4f6d874
..
ca53f1e
100644
(file)
--- a/
agedu.h
+++ b/
agedu.h
@@
-11,3
+11,11
@@
#define lenof(x) (sizeof((x))/sizeof(*(x)))
extern char pathsep;
+
+#ifdef HAVE_LSTAT64
+#define STRUCT_STAT struct stat64
+#define LSTAT lstat64
+#else
+#define STRUCT_STAT struct stat
+#define LSTAT lstat
+#endif