aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2018-02-06 20:27:49 -0800
committerGravatar Alexander Polcyn <apolcyn@google.com>2018-03-20 23:51:23 -0700
commit47a92893a3f80238fbe9f761db4fc3dc79fbd6de (patch)
tree1d19ef9f56fafecaf99844213630765dc02d1aed
parent5de347855a5e283d1bfb123d9bc08dc4e53ccff1 (diff)
Remove unnecessary header inclusion from address sorting's public header
-rw-r--r--third_party/address_sorting/address_sorting.h2
-rw-r--r--third_party/address_sorting/address_sorting_internal.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/third_party/address_sorting/address_sorting.h b/third_party/address_sorting/address_sorting.h
index d3d3759d14..f11cd424b5 100644
--- a/third_party/address_sorting/address_sorting.h
+++ b/third_party/address_sorting/address_sorting.h
@@ -45,8 +45,6 @@
extern "C" {
#endif
-#include <stdbool.h>
-
typedef struct address_sorting_address {
char addr[128];
size_t len;
diff --git a/third_party/address_sorting/address_sorting_internal.h b/third_party/address_sorting/address_sorting_internal.h
index ee366fef1c..3966002b47 100644
--- a/third_party/address_sorting/address_sorting_internal.h
+++ b/third_party/address_sorting/address_sorting_internal.h
@@ -60,6 +60,7 @@
#define ADDRESS_SORTING_POSIX 1
#endif
+#include <stdbool.h>
#include "address_sorting.h"
address_sorting_source_addr_factory*