lkml.org 
[lkml]   [2000]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectInclude file problem with kernel 2.2.16 (seems to be the same with 2.2.17)


Hello,

I've found an unfortunate bug in the "linux/timex.h" file. This file include "sys/time.h" and this cause any program that use the adjtimex syscall to be unable to compile (You get a lot of multiple definition error message). The only work-around, I've
made is to comment the "#include <sys/time.h>" line and add it myself in my (user-mode) program that use the adjtimex syscall.

I would like to know :

1) Is there any side-effect with this ?
2) Is it safe ?



Best regards

Laurent Kersten

Alcatel Bell Space N.V.
Berkenrodelei 33
B-2660 Hoboken.
Tel : 00-32-3-829.54.09
Fax : 00-32-3-829.57.63



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.029 / U:1.624 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site