fssd: include config.h before any glibc headers
authorUri Simchoni <urisimchoni@gmail.com>
Sun, 12 Jul 2015 06:36:46 +0000 (09:36 +0300)
committerJeremy Allison <jra@samba.org>
Thu, 16 Jul 2015 23:38:16 +0000 (01:38 +0200)
commit42468bcb4018b36914b849991f46913bcfb063dd
tree81742e68f56947aea1bfc7fa7d51f776c90e5d90
parent102a4503b3b5127c394e4155760dd80a7d1aa04c
fssd: include config.h before any glibc headers

config.h may have some flags which affect glibc behavior, e.g.
_FILE_OFFSET_BITS=64. To make sure these flags have the desired
effect, config.h must be included before any glibc header files.

This commit does not fix a specific known bug. It changes the code to
comply with coding conventions.

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: "Stefan Metzmacher" <metze@samba.org>
source3/rpc_server/fss/srv_fss_state.c