_ctypes: use_errno=True for ctypes.get_errno()
diff --git a/pym/portage/util/_ctypes.py b/pym/portage/util/_ctypes.py
index 4e5aa2a..aeceebc 100644
--- a/pym/portage/util/_ctypes.py
+++ b/pym/portage/util/_ctypes.py
@@ -41,7 +41,7 @@
 	handle = _library_handles.get(name)
 
 	if handle is None and ctypes is not None:
-		handle = ctypes.cdll.LoadLibrary(name)
+		handle = ctypes.CDLL(name, use_errno=True)
 		_library_handles[name] = handle
 
 	return handle