#include "Python.h"
#include "pycore_interp.h"
#include "pycore_pystate.h"
#include "pycore_importdl.h"
#include <sys/types.h>
#include <sys/stat.h>
#if defined(__NetBSD__)
#include <sys/param.h>
#if (NetBSD < 199712)
#include <nlist.h>
#include <link.h>
#define dlerror …
#endif
#endif
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif
#if (defined(__OpenBSD__) || defined(__NetBSD__)) && !defined(__ELF__)
#define LEAD_UNDERSCORE …
#else
#define LEAD_UNDERSCORE …
#endif
const char *_PyImport_DynLoadFiletab[] = …;
dl_funcptr
_PyImport_FindSharedFuncptr(const char *prefix,
const char *shortname,
const char *pathname, FILE *fp)
{ … }