--- a/gss-serv.c
+++ b/gss-serv.c
@@ -33,6 +33,7 @@
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
+#include <sys/param.h>
#include "openbsd-compat/sys-queue.h"
#include "xmalloc.h"