Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKen Hughes <khughes@pacific.edu>2007-04-12 18:51:04 +0400
committerKen Hughes <khughes@pacific.edu>2007-04-12 18:51:04 +0400
commit58c8a821e0b82dc83d8c1fb1e42d7d948d78d8e6 (patch)
treef7c7aab7632300659f30fd1947950906df930af4 /source
parentcff81852cd24387d445cd203121bd36618117fa2 (diff)
Fix gcc warning about swab() on linux.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/seqaudio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/seqaudio.c b/source/blender/src/seqaudio.c
index 6ba7c20d9a7..4bac7fdb250 100644
--- a/source/blender/src/seqaudio.c
+++ b/source/blender/src/seqaudio.c
@@ -1,4 +1,6 @@
-/**
+/*
+ * $Id$
+ *
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
@@ -33,7 +35,9 @@
#include <string.h>
#ifndef WIN32
+#define __USE_XOPEN /* Needed for swab on linux */
#include <unistd.h>
+#undef __USE_XOPEN
#else
#include <io.h>
#endif