Expand Id keyword in man page.
[sgt/agedu] / agedu.h
diff --git a/agedu.h b/agedu.h
index 2ad9a5b..ca53f1e 100644 (file)
--- a/agedu.h
+++ b/agedu.h
@@ -2,6 +2,8 @@
  * Central header file for agedu, defining various useful things.
  */
 
+#include "config.h"
+
 #define PNAME "agedu"
 
 #define DUMPHDR "agedu dump file. pathsep="
@@ -9,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