mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
lib/util: 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>
This commit is contained in:
parent
5768ca6523
commit
689d4a5796
@ -19,8 +19,8 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <talloc.h>
|
||||
#include "replace.h"
|
||||
#include <talloc.h>
|
||||
#include "system/filesys.h"
|
||||
#include "system/syslog.h"
|
||||
#include "system/locale.h"
|
||||
|
@ -32,8 +32,8 @@
|
||||
* @file
|
||||
*/
|
||||
|
||||
#include <talloc.h>
|
||||
#include "replace.h"
|
||||
#include <talloc.h>
|
||||
#include "debug.h"
|
||||
#include "idtree.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user