[Kst] kdeextragear-2/kst/kst
Adriaan de Groot
groot at kde.org
Sat Jan 17 15:11:02 CET 2004
CVS commit by adridg:
Fixincludes: need sys/time.h for struct timeval
M +13 -2 stdinsource.cpp 1.5
--- kdeextragear-2/kst/kst/stdinsource.cpp #1.4:1.5
@@ -16,5 +16,7 @@
***************************************************************************/
+#include "config.h"
#include "stdinsource.h"
+
#include <kdebug.h>
#include <ktempfile.h>
@@ -22,6 +24,15 @@
#include <stdlib.h>
#include <unistd.h>
-#include <time.h>
+#if TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# if HAVE_SYS_TIME_H
+# include <sys/time.h>
+# else
+# include <time.h>
+# endif
+#endif
KstStdinSource::KstStdinSource()
More information about the Kst
mailing list