--- ./src/lib/krb5/rcache/rc_dfl.c.orig	2020-12-17 03:38:56 +0000
+++ ./src/lib/krb5/rcache/rc_dfl.c	2020-12-17 03:39:45 +0000
@@ -45,6 +45,11 @@
 #include <sys/stat.h>
 #endif
 
+#ifndef O_NOFOLLOW
+#define O_NOFOLLOW 0
+#warning O_NOFOLLOW undeclared - ignoring
+#endif
+
 #ifdef _WIN32
 
 static krb5_error_code
