[vlc-commits] Fix compilation for systems without search.h
Rémi Duraffort
git at videolan.org
Wed Feb 23 19:46:40 CET 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Feb 23 19:46:13 2011 +0100| [b44e5fa2c28c8579c0b67f430be2a817cb180205] | committer: Rémi Duraffort
Fix compilation for systems without search.h
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b44e5fa2c28c8579c0b67f430be2a817cb180205
---
src/config/keys.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/config/keys.c b/src/config/keys.c
index b51293b..5c2f8d5 100644
--- a/src/config/keys.c
+++ b/src/config/keys.c
@@ -35,7 +35,9 @@
#include <stdlib.h>
#include <limits.h>
-#include <search.h>
+#ifdef HAVE_SEARCH_H
+# include <search.h>
+#endif
#include <vlc_common.h>
#include <vlc_keys.h>
More information about the vlc-commits
mailing list