[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Improper headers
The header files in /usr/include and /usr/include/linux seem o be rather
inconsistent. The following code spews errors.
test.c
#include <time.h>
#include <linux/time.h>
int main() {}
gcc -Wall test.c . Lots of errors.
One bypass would be to use any 1 of the headers but a problem is the
following case :
#include <foo.h> /* This in turn includes <time.h> */
#include <moo.h> /* This in turn includes <linux/time.h> */
Any workarounds ??
Shourya
--
_______________________________________________________________
Shourya Sarcar <sarcar@xxxxxxxx> <Tel:91-033-4710477>
Department of Computer Science and Engineering
Jadavpur University Calcutta, India 700 032
All the world's a stage..
And I am acting tonight
C - the difference : http://www.eskimo.com/~scs/C-faq/top.html