ソースを参照

include dlfcn.h on FreeBSD for dlopen

rdb 15 年 前
コミット
c7bf95c53a
1 ファイル変更2 行追加1 行削除
  1. 2 1
      dtool/src/dtoolutil/executionEnvironment.cxx

+ 2 - 1
dtool/src/dtoolutil/executionEnvironment.cxx

@@ -44,8 +44,9 @@
 #ifdef IS_FREEBSD
 extern char **environ;
 
-// This is for Link_map.
+// For Link_map and dlinfo.
 #include <link.h>
+#include <dlfcn.h>
 
 // This is for sysctl.
 #include <sys/types.h>