diff -rupN coregrind/m_syswrap/syswrap-darwin.c coregrind/m_syswrap/syswrap-darwin.c
--- coregrind/m_syswrap/syswrap-darwin.c
+++ coregrind/m_syswrap/syswrap-darwin.c
@@ -1772,7 +1772,7 @@ static const HChar *name_for_fcntl(UWord cmd) {
       F(F_PREALLOCATE);
       F(F_SETSIZE);
       F(F_RDADVISE);
-#     if DARWIN_VERS < DARWIN_10_9
+#     if DARWIN_VERS < DARWIN_10_9 && defined(F_READBOOTSTRAP)
       F(F_READBOOTSTRAP);
       F(F_WRITEBOOTSTRAP);
 #     endif
@@ -1902,7 +1902,7 @@ PRE(fcntl)
       }
       break;
 
-#  if DARWIN_VERS < DARWIN_10_9
+#  if DARWIN_VERS < DARWIN_10_9 && defined(F_READBOOTSTRAP)
        // struct fbootstraptransfer
    case VKI_F_READBOOTSTRAP:
    case VKI_F_WRITEBOOTSTRAP:
