]> git.sesse.net Git - vlc/blobdiff - include/vlc_fixups.h
WinCE: add replacement getpid() function
[vlc] / include / vlc_fixups.h
index 74cf4544a5ab5d104e99eae9791fdce025344c91..24d3069a783f76e745a6140ee69fc3e1ab96955c 100644 (file)
@@ -53,6 +53,10 @@ typedef struct
 # include <stdarg.h> /* va_list */
 #endif
 
+#ifndef HAVE_GETPID
+# include <sys/types.h> /* pid_t */
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -133,6 +137,10 @@ void rewind (FILE *);
 char *getcwd (char *buf, size_t size);
 #endif
 
+#ifndef HAVE_GETPID
+pid_t getpid (void);
+#endif
+
 #ifdef __cplusplus
 } /* extern "C" */
 #endif