Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 70ebdfa91cf99dc012a6cf1060743f0a > files > 1

mspdebug-0.21-2.fc18.src.rpm

From f94383d839086f502972483bc7997f24bee406eb Mon Sep 17 00:00:00 2001
From: Rob Spanton <rspanton@zepler.net>
Date: Thu, 29 Nov 2012 17:36:11 +0000
Subject: [PATCH 1/2] Add two missing includes to util.c

util.c was missing sys/select.h and sys/time.h.  On some platforms,
this lead to warnings.
---
 util/sport.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/sport.c b/util/sport.c
index 309f71e..d20c71f 100644
--- a/util/sport.c
+++ b/util/sport.c
@@ -20,6 +20,8 @@
 #include <unistd.h>
 #include <errno.h>
 #include <string.h>
+#include <sys/select.h>
+#include <sys/time.h>
 
 #include "sport.h"
 #include "util.h"
-- 
1.7.11.7