mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
Macro _GNU_SOURCE is not automatically defined in chroot host toolchain. Add this macro to let stdlib.h header file declare ptsname_r() function. BUG=None TEST=Run "gcc -V" to check if the toolchain version >= 4.6.0. And run "make clean; make" in Chromium OS dev chroot. Change-Id: I02d8a6f9ac9a6e51da3f2cd2ecbec9ec1f096c6a Signed-off-by: Rong Chang <rongchang@chromium.org>