commit - 40de210a716dc3b8dd4116cda482c851eac44d4f
commit + e24c4959f1105965cf2ae2d245d6f83c6531a43e
blob - 466cacf26d2fffa6cc03782eaf718157bfcae71b
blob + 2d7781684ee5bfed430739283d2efa55ad0ffc30
--- gotd/Makefile.am
+++ gotd/Makefile.am
include $(top_builddir)/Makefile.common
gotd_SOURCES = gotd.c \
+ auth.c \
imsg.c \
log.c \
parse.y \
blob - 68c02fe36df0f00abffe293ccae6d27b225b6297
blob + 67e4b9b0cb9658c973a7006eb116204532d08b27
--- include/got_compat2.h
+++ include/got_compat2.h
#endif
+#ifndef UID_MAX
+# define UID_MAX UINT_MAX /* max value for a uid_t */
+#endif
+#ifndef GID_MAX
+# define GID_MAX UINT_MAX /* max value for a gid_t */
+#endif
+
/* For flock. */
#ifndef O_EXLOCK
#define O_EXLOCK 0