diff options
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/__init__.py | 2 | ||||
-rw-r--r-- | openbsd/openbsd_builder.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/__init__.py b/openbsd/__init__.py index 8810370..1aab185 100644 --- a/openbsd/__init__.py +++ b/openbsd/__init__.py @@ -1,7 +1,7 @@ import sys from cffi import FFI -from _openbsd import lib as _lib +from ._openbsd import lib as _lib __all__ = ["pledge", "unveil"] diff --git a/openbsd/openbsd_builder.py b/openbsd/openbsd_builder.py index 8ca0bc5..a8720c1 100644 --- a/openbsd/openbsd_builder.py +++ b/openbsd/openbsd_builder.py @@ -8,7 +8,7 @@ ffibuilder.cdef(''' char *strerror(int errnum); ''') -ffibuilder.set_source("_openbsd", +ffibuilder.set_source("openbsd._openbsd", """ #include <unistd.h> #include <string.h> |