Skip to content
Snippets Groups Projects
Commit 634dc237 authored by Alexey Lyashkov's avatar Alexey Lyashkov
Browse files

remove unneed include.

parent fc9fdcb5
No related merge requests found
......@@ -1178,18 +1178,6 @@ LB_LINUX_TRY_COMPILE([
])
])
# asm/segment.h does not exist on all architectures.
# e.g. the file is empty for ia64 and does not exist for PPC.
AC_DEFUN([LC_SEGMENT_H],
[LB_CHECK_FILE([$LINUX/include/asm/segment.h],
[AC_MSG_CHECKING([if asm/segment.h is present])
LB_LINUX_TRY_COMPILE([#include <asm/segment.h>], [],
[AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_SEGMENT_H, 1,
[asm/segment.h exists])],
[AC_MSG_RESULT([no])])])
]) # LC_SEGMENT_H
#
# LN_PROG_LINUX
#
......
......@@ -23,9 +23,6 @@
# include <linux/kmod.h>
# include <linux/notifier.h>
# include <linux/fs.h>
# ifdef HAVE_SEGMENT_H
# include <asm/segment.h>
# endif
# include <linux/miscdevice.h>
# include <linux/vmalloc.h>
# include <linux/time.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment