btrfs-progs: autoconf: use config.h
authorKarel Zak <kzak@redhat.com>
Tue, 9 Dec 2014 14:15:47 +0000 (15:15 +0100)
committerDavid Sterba <dsterba@suse.cz>
Wed, 28 Jan 2015 16:55:44 +0000 (17:55 +0100)
commitbb6b4fea9f78939262446e35d2e0d4d0ed0d8e57
tree06d4c924de351af7ef787c4ea6f44bffd7c7b175
parent48e728d1120c9e5482b5e4aa4dd91f071acfd6bb
btrfs-progs: autoconf: use config.h

- the header file is generated by ./configure, the standard autotools
  way is to use -include config.h on compiler command line rather than
  include the file directly from code

- remove _GNU_SOURCE from code, the macros is already defined in config.h
  by AC_USE_SYSTEM_EXTENSIONS autoconf macro

Signed-off-by: Karel Zak <kzak@redhat.com>
[_GNU_SOURCE changes already done]
Signed-off-by: David Sterba <dsterba@suse.cz>
Makefile.in