kbuild: fix C libary confusion in unifdef.c due to getline()
authorJustin P. Mattock <justinmattock@gmail.com>
Sat, 7 Mar 2009 12:31:29 +0000 (13:31 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 7 Mar 2009 12:31:29 +0000 (13:31 +0100)
commitd15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7
treea26357ed3ccab528d345a2263f7b3a6dd53e6938
parent559595a985e106d2fa9f0c79b7f5805453fed593
kbuild: fix C libary confusion in unifdef.c due to getline()

This fixes an error when compiling the kernel.

  CHK     include/linux/version.h
  HOSTCC  scripts/unifdef
scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
make[1]: *** [scripts/unifdef] Error 1
make: *** [__headers] Error 2

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/unifdef.c