Skip to content

Commit e3a3f5e

Browse files
newrengitster
authored andcommitted
reftable: ensure git-compat-util.h is the first (indirect) include
Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0e312ea commit e3a3f5e

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

reftable/error.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ license that can be found in the LICENSE file or at
66
https://developers.google.com/open-source/licenses/bsd
77
*/
88

9+
#include "system.h"
910
#include "reftable-error.h"
1011

1112
#include <stdio.h>

reftable/publicbasics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ license that can be found in the LICENSE file or at
66
https://developers.google.com/open-source/licenses/bsd
77
*/
88

9+
#include "system.h"
910
#include "reftable-malloc.h"
1011

1112
#include "basics.h"
12-
#include "system.h"
1313

1414
static void *(*reftable_malloc_ptr)(size_t sz);
1515
static void *(*reftable_realloc_ptr)(void *, size_t);

reftable/tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ license that can be found in the LICENSE file or at
66
https://developers.google.com/open-source/licenses/bsd
77
*/
88

9+
#include "system.h"
910
#include "tree.h"
1011

1112
#include "basics.h"
12-
#include "system.h"
1313

1414
struct tree_node *tree_search(void *key, struct tree_node **rootp,
1515
int (*compare)(const void *, const void *),

reftable/tree_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ license that can be found in the LICENSE file or at
66
https://developers.google.com/open-source/licenses/bsd
77
*/
88

9+
#include "system.h"
910
#include "tree.h"
1011

1112
#include "basics.h"

t/helper/test-reftable.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include "reftable/system.h"
12
#include "reftable/reftable-tests.h"
23
#include "test-tool.h"
34

0 commit comments

Comments
 (0)