summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/vsnprintf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/vsnprintf.c b/src/mesa/main/vsnprintf.c
index d86dbfe7a03..ab6c740d772 100644
--- a/src/mesa/main/vsnprintf.c
+++ b/src/mesa/main/vsnprintf.c
@@ -24,7 +24,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/param.h>
+#ifndef __VMS
+# include <sys/param.h>
+#endif
#include <sys/types.h>
#include <sys/mman.h>
#include <signal.h>