You need to find the source for the kernel you are using. Since you are using Slackware I think you are running a vanilla kernel, i.e. a standard kernel.
If so you can find the kernel at
http://www.kernel.org
They have archives and mirrors so you will find it there.
To get your kernel version run "uname -r".
Download the tar.bz2 or tar.gz file and extract in your /usr/src folder like this.
# cd /usr/src
then one of these lines depending on what compression the tar file you downloaded had :
# tar zxvf path-to-kernel/kernel-version.tar.gz
or
# tar jxvf path-to-kernel/kernel-version.tar.bz2
Then make sure you have a /usr/src/linux directory. If not then check this :
If you have a directory in /usr/src named 2.4.20 or such then you need to do a symlink to it from /usr/src/linux . Do it like this :
cd /usr/src
ln -s 2.4.20 linux
this makes a link from linux to 2.4.20 . Edit the kernelversion if you do not have 2.4.20. You probably get it
Hope it helped you.