https://issues.dlang.org/show_bug.cgi?id=16666
Issue ID: 16666
Summary: core.sys.posix.sys.types uses c_long without importing
its definition
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: druntime
Assignee: [email protected]
Reporter: [email protected]
--- test.d
void* test (ssize_t );
import core.sys.posix.unistd;
---
dmd test.d
Output:
/usr/include/dmd/druntime/import/core/sys/posix/sys/types.d(100): Error:
undefined identifier 'c_long'
--