made it compilable with gcc296
[util-vserver.git] / util-vserver / lib / getinitpid.c
index 75d7e2b..fbc178c 100644 (file)
@@ -19,7 +19,6 @@
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
-#include "compat.h"
 
 #ifdef VC_ENABLE_API_COMPAT
 #  include "getinitpid-compat.hc"
 #include "vserver-internal.h"
 #include "internal.h"
 
-#include <unistd.h>
 #include <sys/types.h>
 
 pid_t
 vc_X_getinitpid(pid_t pid)
 {
-  if (pid==0) pid=getpid();
-
   CALL_VC(CALL_VC_COMPAT(vc_X_getinitpid, pid),
          CALL_VC_LEGACY(vc_X_getinitpid, pid));
 }