Mercurial > mplayer.hg
view osdep/kerneltwosix.h @ 13803:0bd7ccf63c54
Declare a prototype for the function before it is used. Otherwise some compiler versions will "optimize" them away, and linking will fail.
author | mosu |
---|---|
date | Sat, 30 Oct 2004 08:42:25 +0000 |
parents | e0b096f0e640 |
children |
line wrap: on
line source
#include <linux/version.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70) #define __KERNEL__ #include <linux/thread_info.h> #include <linux/list.h> #undef __KERNEL__ #endif