[PATCH] include <time.h> for time()

Marcus Meissner marcus at jet.franken.de
Mon Jan 21 16:38:09 CST 2008


Hi,

Compiler warns about implicit definition of time().

Ciao, Marcus
---
 programs/cmd/wcmdmain.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c
index 24efebf..c65d2a3 100644
--- a/programs/cmd/wcmdmain.c
+++ b/programs/cmd/wcmdmain.c
@@ -25,6 +25,7 @@
  * - Lots of functionality missing from builtins
  */
 
+#include <time.h>
 #include "config.h"
 #include "wcmd.h"
 #include "wine/debug.h"
-- 
1.5.2.4



More information about the wine-patches mailing list