1/*
2 * Copyright (c) 2002, Intel Corporation. All rights reserved.
3 * Created by:  julie.n.fleischer REMOVE-THIS AT intel DOT com
4 * This file is licensed under the GPL license.  For the full content
5 * of this license, see the COPYING file at the top level of this
6 * source tree.
7
8 * Test that timespec structure is declared.
9 */
10#include <time.h>
11
12struct timespec this_type_should_exist, t;
13
14int dummyfcn(void)
15{
16	time_t sec;
17	long nsec;
18
19	sec = t.tv_sec;
20	nsec = t.tv_nsec;
21	return 0;
22}
23