[patch] sundries.h add klibc support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fixes:
In file included from mount.c:34:
sundries.h:16:23: error: rpc/types.h: No such file or directory

together with a minimal mntent.h this makes mount compilable
against klibc:
size mount
   text    data     bss     dec     hex filename
  58526    2544    4552   65622   10056 mount

Signed-off-by: maximilian attems <max@xxxxxxx>

diff --git a/mount/sundries.h b/mount/sundries.h
index a62e25c..dd1895f 100644
--- a/mount/sundries.h
+++ b/mount/sundries.h
@@ -12,7 +12,7 @@
 #include <signal.h>
 #include <stdarg.h>
 #include <stdlib.h>
-#if !defined(bool_t) && !defined(__GLIBC__)
+#if !defined(bool_t) && !defined(__GLIBC__) && !defined(__KLIBC__)
 #include <rpc/types.h>
 #endif
 
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux