Commit: c5569d773b96d1f528d4ab9ce1ed2bf30c45fcbe
Parent: f085b62ac86b2d2ab9106d8df5cd2e5a97dbcec9
Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2015-01-02 09:06:11
Tree: c195d5a6514b4a47dd36e7b46647a04d470e850a

src/shared/ecc.c: Fix missing config.h include The ecc.c file forgets to include <config.h>. This causes build failures with certain C libraries, because ecc.c uses O_CLOEXEC, which is only available when _GNU_SOURCE is defined. And _GNU_SOURCE gets defined by <config.h>, so it should be included.

Diffstat

M src/shared/ecc.c | 4 ++++

1 files changed, 4 insertions(+), 0 deletions(-)

View Full Diff | Patch