Fix the pwd and group functions. The bb_ stuff was a leftover from
[oweals/busybox.git] / hostid.c
index f1010a65d524fa11301801018d22a7138478b3e6..eed1a50ec8e8560cc8df3a9c00ac0483a28e5f18 100644 (file)
--- a/hostid.c
+++ b/hostid.c
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
 
 extern int hostid_main(int argc, char **argv)
 {
        printf("%lx\n", gethostid());
-       return(TRUE);
+       return EXIT_SUCCESS;
 }