util.c: fix order of inclusion to correctly consume config.h
authorUri Simchoni <urisimchoni@gmail.com>
Thu, 2 Jul 2015 17:09:02 +0000 (20:09 +0300)
committerVolker Lendecke <vl@samba.org>
Thu, 9 Jul 2015 10:32:03 +0000 (12:32 +0200)
commitf9cc2de6129a7f998132cdc56c4c742d25b47f27
tree9de9a2555cc26c4c6bcbea739860cbe710ff7c24
parent7a9eddd3b11959e202bc21e5cc8998131d625280
util.c: fix order of inclusion to correctly consume config.h

replace.h has to be the first file included in order to correctly act
upon the definitions in config.h.

Specifically, this change fixes 32-bit i686 builds, which depend upon
_FILE_OFFSET_BITS=64 to be set before any standard library file is
included.

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: "Stefan (metze) Metzmacher" <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jul  9 12:32:03 CEST 2015 on sn-devel-104
lib/util/util.c