mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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>
This commit is contained in:
parent
689d4a5796
commit
102a4503b3
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user