changeset 4512:ba9ac6bb0c75

Fixed compile warning.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 13 Jul 2010 22:22:43 -0700
parents ae7799d16c87
children c5af44c1eea9
files src/audio/SDL_audiodev.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audio/SDL_audiodev.c	Mon Jul 12 22:08:50 2010 -0700
+++ b/src/audio/SDL_audiodev.c	Tue Jul 13 22:22:43 2010 -0700
@@ -28,6 +28,7 @@
 #include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <unistd.h> /* For close() */
 
 #include "SDL_stdinc.h"
 #include "SDL_audiodev_c.h"