--- common/actions.c.orig	2022-03-07 23:28:27 +0000
+++ common/actions.c	2022-03-07 23:36:56 +0000
@@ -55,6 +55,11 @@
 #include "misc.h"
 #include "actions.h"
 
+#ifndef O_NOFOLLOW
+#define O_NOFOLLOW 0
+#warning O_NOFOLLOW undeclared - ignoring
+#endif
+
 void (*action)(const char *) = NULL;
 unsigned int notmoved = 0, notremoved = 0;
 
