Fixed getpid() to be real function on uClinux (just prototype was missing)
[gnokii.git] / include / uccompat.h
index 807e74f..2dab590 100644 (file)
@@ -33,7 +33,7 @@
 extern char * strchr __P ((const char *, int));
 extern char * strrchr __P ((const char *, int));
 
-#define getpid() (2)
+extern pid_t getpid(void);
 
 
 #endif /* UCCOMPAT */