#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
+#ifdef HAVE_NETDB_H
+# include <netdb.h>
+#endif
#define PNAME "agedu"
#define LSTAT lstat
#define STAT stat
#endif
+
+#define max(x,y) ( (x) > (y) ? (x) : (y) )
+#define min(x,y) ( (x) < (y) ? (x) : (y) )