diff --git a/ChangeLog b/ChangeLog
index 9450cf3c95b87820564591de3d09cb3ee1e4ffca..2983c6c61058dec9073ebb0a97e391f210ebe974 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@
 	* configure.ac: Allow other enablers to override --enable-tiny too.
 	* src/{proto.h,search.c}: Fix compilation with --enable-browser.
 	* src/global.c (shortcut_init): Fix warnings with --enable-help.
+	* src/text.c (do_justify): Fix compilation with --enable-justify.
 
 2014-04-03  Benno Schulenberg  <bensberg@justemail.net>
 	* configure.ac: Remove unused '*_support' variables.
diff --git a/src/text.c b/src/text.c
index 1fc7d74320adf75ed5cf99e616b611527afc6889..635a926a86ba6cc26bf69a0804d32182b0098c17 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1979,7 +1979,9 @@ void do_justify(bool full_justify)
     if (full_justify)
 	openfile->current = openfile->fileage;
 
+#ifndef NANO_TINY
     allow_pending_sigwinch(FALSE);
+#endif
 
     while (TRUE) {
 	size_t i;
@@ -2352,8 +2354,9 @@ void do_justify(bool full_justify)
     shortcut_init(FALSE);
     display_main_list();
 
+#ifndef NANO_TINY
     allow_pending_sigwinch(TRUE);
-
+#endif
 }
 
 /* Justify the current paragraph. */