Hi, The following patch fixes udev build with -fpie, by adding missing includes and environ declaration. Regards