plugins/gtk/gtk.c needs dirent.h for DIR

Steven M. Schultz sms at 2BSD.COM
Fri Feb 15 09:21:47 CET 2002


Hi -

	The GTK plugin needs to have <dirent.h> added because the DIR macro
	is not necessarily in <types.h>

	The diff is trivial:

--- plugins/gtk/gtk_playlist.c.dist	Thu Feb 14 17:31:56 2002
+++ plugins/gtk/gtk_playlist.c	Fri Feb 15 00:13:07 2002
@@ -31,6 +31,7 @@
 #include <videolan/vlc.h>
 
 #include <sys/types.h>          /* for readdir  and stat stuff */
+#include <dirent.h>		/* for DIR */
 
 #include <sys/stat.h>
 #include <unistd.h>

	Steven Schultz
	sms at 2bsd.com

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list