diff --git a/openssh.spec b/openssh.spec
index 2722f4e..86f3d44 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -338,6 +338,10 @@ BuildRequires: xauth
 # for tarball signature verification
 BuildRequires: gnupg2
 
+%if 0%{?facebook} && 0%{?use_quilt}
+BuildRequires: quilt
+%endif
+
 %package clients
 Summary: An open source SSH client applications
 Requires: openssh = %{version}-%{release}