bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <sys/select.h> on OSF/1


From: Bruno Haible
Subject: Re: <sys/select.h> on OSF/1
Date: Mon, 29 Sep 2008 12:44:53 +0200
User-agent: KMail/1.5.4

Hi Paolo,

> What about this patch?  Bruno, can you give it a try on OSF/1?

The patch is obviously correct. You can apply it, together with this
enhancement of the unit test. I'll test it in the next few days.

Bruno


*** tests/test-sys_select.c.orig        2008-09-29 12:42:28.000000000 +0200
--- tests/test-sys_select.c     2008-09-29 12:42:00.000000000 +0200
***************
*** 19,28 ****
  
  #include <config.h>
  
  #include <stdio.h>
  #include <string.h>
- #include <sys/select.h>
- #include <sys/time.h>
  #include <netinet/in.h>
  #include <arpa/inet.h>
  #include <fcntl.h>
--- 19,31 ----
  
  #include <config.h>
  
+ #include <sys/select.h>
+ 
+ /* Check that the 'struct timeval' type is defined.  */
+ struct timeval t1;
+ 
  #include <stdio.h>
  #include <string.h>
  #include <netinet/in.h>
  #include <arpa/inet.h>
  #include <fcntl.h>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]