[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeadmin
From:       Adriaan de Groot <adridg () cs ! kun ! nl>
Date:       2003-01-14 12:19:22
[Download RAW message or body]

CVS commit by adridg: 

Get the headers and config check right.


  M +2 -0      configure.in.in   1.32
  M +12 -1     kpackage/TEPty.cpp   1.13


--- kdeadmin/configure.in.in  #1.31:1.32
@@ -7,2 +7,4 @@
 
 AC_CHECK_HEADERS(sys/stropts.h stropts.h)
+AC_CHECK_HEADERS(sys/time.h)
+AC_HEADER_TIME

--- kdeadmin/kpackage/TEPty.cpp  #1.12:1.13
@@ -93,8 +93,19 @@
 #include <sys/types.h>
 #include <sys/ioctl.h>
+
+
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
 #ifdef TIME_WITH_SYS_TIME
-  #include <sys/time.h>
+#include <time.h>
 #endif
+#else
+#include <time.h>
+#endif
+
 #include <sys/resource.h>
+
+
+
 #ifdef HAVE_SYS_STROPTS_H
 #include <sys/stropts.h>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic