Skip to content

Python bindings fail to build on macOS #82

@jmroot

Description

@jmroot
./dnet.c:781:10: fatal error: 'bsd/string.h' file not found
#include "bsd/string.h"
         ^~~~~~~~~~~~~~
1 error generated.

strlcpy and strlcat are declared in string.h. I'm not sure that bsd/string.h exists on BSD systems either, it might just be a Linux thing. You probably want to include string.h and then also include bsd/string.h if it exists.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions