fix build failure for pmap
authorDan Fandrich <dan@coneharvesters.com>
Sun, 19 Sep 2010 15:13:21 +0000 (17:13 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Sun, 19 Sep 2010 15:13:21 +0000 (17:13 +0200)
Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
libbb/procps.c

index 14d4481bd1d2dab3e4ffdecf3304a10b23d38780..7924660481f022c4d045ead812748528bd6f6cc8 100644 (file)
@@ -120,7 +120,7 @@ void FAST_FUNC free_procps_scan(procps_status_t* sp)
        free(sp);
 }
 
-#if ENABLE_FEATURE_TOPMEM
+#if ENABLE_FEATURE_TOPMEM || ENABLE_PMAP
 static unsigned long fast_strtoul_16(char **endptr)
 {
        unsigned char c;