[llvm-commits] [test-suite] r83944 - /test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c

Chris Lattner sabre at nondot.org
Mon Oct 12 22:37:17 PDT 2009


Author: lattner
Date: Tue Oct 13 00:37:17 2009
New Revision: 83944

URL: http://llvm.org/viewvc/llvm-project?rev=83944&view=rev
Log:
FIX PR5170 "Fix build of MultiSource/Benchmarks/MiBench/office-ispell on FreeBSD",
patch by Pawel Worach!

Modified:
    test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c

Modified: test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c?rev=83944&r1=83943&r2=83944&view=diff

==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MiBench/office-ispell/term.c Tue Oct 13 00:37:17 2009
@@ -72,7 +72,7 @@
 #include "msgs.h"
 #include <signal.h>
 
-#ifdef __GLIBC__
+#if defined(__GLIBC__) || defined(__FreeBSD__)
 /* Use termios under at least glibc */
 #include <termios.h>
 #define USE_TERMIOS





More information about the llvm-commits mailing list