Open
Description
Previous ID | SR-1251 |
Radar | rdar://problem/66398034 |
Original Reporter | @drewcrawford |
Type | Bug |
Attachment: Download
Environment
swift-DEVELOPMENT-SNAPSHOT-2020-07-22-a
Linux x64
Additional Detail from JIRA
Votes | 1 |
Component/s | |
Labels | Bug, ClangImporter, Linux, ModuleMaps |
Assignee | None |
Priority | Medium |
md5: 990948b78eef73ab0863e3462d1ceb9d
Issue Description:
I'm attempting to use libBSD.
Modulemap:
module BSD [system] {
header "/usr/include/bsd/stdlib.h"
export *
}
import BSD
Producing error
/usr/include/bsd/libutil.h:63:59: error: declaration of 'pid_t' must be imported from module 'SwiftGlibc.C.signal' before it is required
struct pidfh *pidfile_open(const char *path, mode_t mode, pid_t *pidptr);
See also SR-685