bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-dejagnu] [PATCH] fixes 1.4.1 build breakage on BSD


From: David O'Brien
Subject: [Bug-dejagnu] [PATCH] fixes 1.4.1 build breakage on BSD
Date: Mon, 16 Jul 2001 16:18:48 -0700
User-agent: Mutt/1.2.5i

This patch is needed in order to compile dejagnu on BSD.
System headers should be included before any application ones, and sys/*
headers should be included before all others....

-- 
-- David  (address@hidden)


--- testsuite/libdejagnu/unit.cc.orig   Thu May  3 22:25:59 2001
+++ testsuite/libdejagnu/unit.cc        Mon Jul 16 16:17:05 2001
@@ -1,5 +1,6 @@
 // unit.cc -- This is a test case for the Dejagnu.h classes.
 
+#include <sys/types.h>
 #include <iostream>
 #include <dejagnu.h>
 
@@ -7,7 +8,6 @@
 #include <string>
 #include <fstream>
 #include <set>
-#include <sys/types.h>
 
 TestState runtest;
 TestState test;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]