]> git.sesse.net Git - vlc/blobdiff - include/vlc_fixups.h
SAP : uniquely identify a session with the hash id and source, as described in rfc2974
[vlc] / include / vlc_fixups.h
index 9b6ac2159bc9abcedd2f788b4c50596ed91381a6..d91e155e501c14212f90f59c456c5faace24d8c5 100644 (file)
@@ -48,7 +48,8 @@ typedef struct
 # include <stdio.h> /* FILE */
 #endif
 
-#if !defined (HAVE_STRLCPY) || \
+#if !defined (HAVE_POSIX_MEMALIGN) || \
+    !defined (HAVE_STRLCPY) || \
     !defined (HAVE_STRNDUP) || \
     !defined (HAVE_STRNLEN)
 # include <stddef.h> /* size_t */
@@ -212,6 +213,10 @@ int setenv (const char *, const char *, int);
 int unsetenv (const char *);
 #endif
 
+#ifndef HAVE_POSIX_MEMALIGN
+int posix_memalign (void **, size_t, size_t);
+#endif
+
 /* locale.h */
 #ifndef HAVE_USELOCALE
 #define LC_NUMERIC_MASK  0