Commit Diff


commit - 19adade7a418bb7f630bb23034368dfcc2189440
commit + 698c4a40f02cbbfb2b0b96662e5518dec8988182
blob - 466cacf26d2fffa6cc03782eaf718157bfcae71b
blob + 2d7781684ee5bfed430739283d2efa55ad0ffc30
--- gotd/Makefile.am
+++ gotd/Makefile.am
@@ -3,6 +3,7 @@ sbin_PROGRAMS = gotd
 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
@@ -63,6 +63,13 @@
 #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