From 742e0ba7dfba344484bba2493a8c5ddf164a8c30 Mon Sep 17 00:00:00 2001 From: Jesse Gorzinski Date: Fri, 6 Mar 2020 12:39:51 -0600 Subject: [PATCH] build: add aix-common.c for AIX cmake build PR-URL: https://github.com/libuv/libuv/pull/2731 Reviewed-By: Ben Noordhuis Reviewed-By: Richard Lau Reviewed-By: Michael Dawson --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03d889cf..8117f7fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,9 +147,12 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX") _ALL_SOURCE _LINUX_SOURCE_COMPAT _THREAD_SAFE - _XOPEN_SOURCE=500) + _XOPEN_SOURCE=500 + HAVE_SYS_AHAFS_EVPRODS_H) list(APPEND uv_libraries perfstat) - list(APPEND uv_sources src/unix/aix.c) + list(APPEND uv_sources + src/unix/aix.c + src/unix/aix-common.c) endif() if(CMAKE_SYSTEM_NAME STREQUAL "Android")