mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
openbsd a.out needs underscore for dlsym - patch by Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6131 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
376e46cbf1
commit
b073f67d1c
@ -24,6 +24,10 @@
|
|||||||
#include <dlfcn.h> /* GLIBC specific. Exists under cygwin too! */
|
#include <dlfcn.h> /* GLIBC specific. Exists under cygwin too! */
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
|
#if defined(__OpenBSD__) && !defined(__ELF__)
|
||||||
|
#define dlsym(h,s) dlsym(h, "_" s)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "vidixlib.h"
|
#include "vidixlib.h"
|
||||||
#include "../bswap.h"
|
#include "../bswap.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user