On Fri, Feb 29, 2008 at 11:15 AM, Harry Gunnarsson <[EMAIL PROTECTED]> wrote: > It looks about right, I am looking at one of my own source files that calls > the functions you refer to and I include
Thanks Harry, turns out the order does matter a lot. This is what I have, for anyone else who's interested: #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/ioctl.h> #include <unistd.h> #include "/home/rr/uCLinux/uClinux-dist/user/lm_sensors/kernel/include/i2c-dev.h" My test app works as expected now. Thanks! -David _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
