summaryrefslogtreecommitdiff
path: root/include/rpc/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/auth.h')
-rw-r--r--include/rpc/auth.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index 661295766..b0ff4d5de 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -41,6 +41,17 @@
#ifndef _RPC_AUTH_H
#define _RPC_AUTH_H 1
+#ifdef _LIBC
+/* Some adjustments to make the libc source from glibc
+ * compile more easily with uClibc... */
+#ifndef __FORCE_GLIBC
+#define __FORCE_GLIBC
+#endif
+#ifndef _GNU_SOUCE
+#define _GNU_SOUCE
+#endif
+#define _(X) X
+#endif
#include <features.h>
#include <rpc/xdr.h>