diff options
author | wiz <wiz@pkgsrc.org> | 2010-09-10 21:11:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-09-10 21:11:19 +0000 |
commit | 40dbfd8bd5a276e69274fe852da6d062505512b9 (patch) | |
tree | d56ce07d56bcf99903b1db4676eb8b28b652e475 /sysutils | |
parent | b2d10627b3a8e0cb1660722d9bf95d94430dadb2 (diff) | |
download | pkgsrc-40dbfd8bd5a276e69274fe852da6d062505512b9.tar.gz |
Fix build on latest DFBSD; patch by Antonio Huete Jimenez in PR 43863.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gkrellm/files/dragonfly.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/gkrellm/files/dragonfly.c b/sysutils/gkrellm/files/dragonfly.c index 990a008b5e6..557844fa0d6 100644 --- a/sysutils/gkrellm/files/dragonfly.c +++ b/sysutils/gkrellm/files/dragonfly.c @@ -809,7 +809,11 @@ static VoltDefault voltdefault0[] = #include <dirent.h> #include <osreldate.h> #include <machine/cpufunc.h> +#if (__DragonFly_version < 200700) #include <machine/smb.h> +#else +#include <bus/smbus/smb.h> +#endif /* Interface types */ #define INTERFACE_IO 0 |