summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-01-13 02:08:47 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-01-13 02:08:47 +0000
commit932c2ca93f59c95d2ff68f53e2244632a2788a47 (patch)
tree01fd953a59eebc43fcbf0a43fd96a49e07634cef /libc/stdio/stdio.cpp
parentd59b4abb1364f5964549642d5dd3ea55c45a7095 (diff)
parent8257883e1d2916fd7e32b492efaa21b831b9b2f8 (diff)
Snap for 7078355 from 8257883e1d2916fd7e32b492efaa21b831b9b2f8 to sc-release
Change-Id: Ia6cce30d0e576ffde302fee81df0728a76254c04
Diffstat (limited to 'libc/stdio/stdio.cpp')
-rw-r--r--libc/stdio/stdio.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/stdio/stdio.cpp b/libc/stdio/stdio.cpp
index b8aced83b..c7b1ba459 100644
--- a/libc/stdio/stdio.cpp
+++ b/libc/stdio/stdio.cpp
@@ -57,8 +57,7 @@
#include "private/ErrnoRestorer.h"
#include "private/thread_private.h"
-#define ALIGNBYTES (sizeof(uintptr_t) - 1)
-#define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES)
+#include "private/bsd_sys_param.h" // For ALIGN/ALIGNBYTES.
#define NDYNAMIC 10 /* add ten more whenever necessary */