xenocara fallout from libcompat removal

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

xenocara fallout from libcompat removal

Christian Weisgerber
The xenocara fallout from libcompat removal is actually minimal.

I don't know if there are any extant operating systems that still
require <sys/timeb.h> for getrusage().

Index: app/xgc/tests.c
===================================================================
RCS file: /cvs/xenocara/app/xgc/tests.c,v
retrieving revision 1.2
diff -u -p -r1.2 tests.c
--- app/xgc/tests.c 31 Oct 2010 19:41:34 -0000 1.2
+++ app/xgc/tests.c 3 Dec 2013 19:12:03 -0000
@@ -14,7 +14,6 @@
 #define SYSV
 #endif
 #if !defined(SYSV) && !defined(QNX4)
-#include <sys/timeb.h>
 #include <sys/resource.h>
 #endif
 
--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: xenocara fallout from libcompat removal

Matthieu Herrb
On Tue, Dec 03, 2013 at 08:53:37PM +0100, Christian Weisgerber wrote:
> The xenocara fallout from libcompat removal is actually minimal.
>
> I don't know if there are any extant operating systems that still
> require <sys/timeb.h> for getrusage().
>

ok.

> Index: app/xgc/tests.c
> ===================================================================
> RCS file: /cvs/xenocara/app/xgc/tests.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 tests.c
> --- app/xgc/tests.c 31 Oct 2010 19:41:34 -0000 1.2
> +++ app/xgc/tests.c 3 Dec 2013 19:12:03 -0000
> @@ -14,7 +14,6 @@
>  #define SYSV
>  #endif
>  #if !defined(SYSV) && !defined(QNX4)
> -#include <sys/timeb.h>
>  #include <sys/resource.h>
>  #endif
>  
> --
> Christian "naddy" Weisgerber                          [hidden email]

--
Matthieu Herrb