[Top][All Lists]

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

[Qemu-devel] [PATCH] Remove unnecessary FreeBSD #include

From: Ed Maste
Subject: [Qemu-devel] [PATCH] Remove unnecessary FreeBSD #include
Date: Thu, 25 Apr 2013 12:17:11 -0400

sys/param.h was included to define __FreeBSD_version, but the conditional
using it was removed by commit d05ef160453e98546a4197496dc8a3cb2defac53
(Brad Smith, "Allow clock_gettime() monotonic clock to be utilized on more
OS's"), so the include is no longer needed here.

Signed-off-by: Ed Maste <address@hidden>
 include/qemu/timer.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/qemu/timer.h b/include/qemu/timer.h
index c363190..9dd206c 100644
--- a/include/qemu/timer.h
+++ b/include/qemu/timer.h
@@ -5,10 +5,6 @@
 #include "qemu/main-loop.h"
 #include "qemu/notify.h"
-#ifdef __FreeBSD__
-#include <sys/param.h>
 /* timers */
 #define SCALE_MS 1000000

reply via email to

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