KVM test: Fix the build error of libhugetlbfs in some OS

Libhugetlbfs could not be compiled in my Fedora-13, the reason is that
S_ISDIR was defined in <sys/stat.h> which needs to be included in
elflink.c. This patch solves this problem through applying a patch
before doing the test.

Signed-off-by: Jason Wang <jasowang@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4362 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed