Merge "<sys/time.h> should include [most of] <sys/select.h>."
This commit is contained in:
commit
e5544ae1f8
@ -25,6 +25,7 @@
|
|||||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SYS_TIME_H_
|
#ifndef _SYS_TIME_H_
|
||||||
#define _SYS_TIME_H_
|
#define _SYS_TIME_H_
|
||||||
|
|
||||||
@ -32,6 +33,9 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <linux/time.h>
|
#include <linux/time.h>
|
||||||
|
|
||||||
|
/* POSIX says <sys/time.h> gets you most of <sys/select.h> and may get you all of it. */
|
||||||
|
#include <sys/select.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
extern int gettimeofday(struct timeval *, struct timezone *);
|
extern int gettimeofday(struct timeval *, struct timezone *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user