diff options
author | Uri Simchoni <urisimchoni@gmail.com> | 2015-07-12 09:31:52 +0300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-07-17 01:38:15 +0200 |
commit | 102a4503b3b5127c394e4155760dd80a7d1aa04c (patch) | |
tree | ab76cfec91787c3ae2b06dcefd5e27b2be94f197 /source3/lib | |
parent | 689d4a5796f185cbec407fd2dc8204b12f76f753 (diff) | |
download | samba-102a4503b3b5127c394e4155760dd80a7d1aa04c.tar.gz |
source3/lib: 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>
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/messages_dgm_ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/messages_dgm_ref.c b/source3/lib/messages_dgm_ref.c index b4511e00603..0a6cbf72e48 100644 --- a/source3/lib/messages_dgm_ref.c +++ b/source3/lib/messages_dgm_ref.c @@ -17,8 +17,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <talloc.h> #include "replace.h" +#include <talloc.h> #include "messages_dgm.h" #include "messages_dgm_ref.h" #include "lib/util/debug.h" |