summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_sdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c
index ccb910e00b..80948b107d 100644
--- a/libvo/vo_sdl.c
+++ b/libvo/vo_sdl.c
@@ -143,8 +143,8 @@ static vo_info_t vo_info =
#include <SDL.h>
//#include <SDL/SDL_syswm.h>
-#if defined(sun) && defined(__svr4__)
-/* setenv is missing on solaris */
+#if defined(HPUX) || defined(sun) && defined(__svr4__)
+/* setenv is missing on solaris and HPUX */
static void setenv(const char *name, const char *val, int _xx)
{
int len = strlen(name) + strlen(val) + 2;