aboutsummaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r--bfd/sysdep.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index 6528571..3891f97 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -223,4 +223,12 @@ size_t strnlen (const char *, size_t);
# define N_(String) (String)
#endif
+#ifndef HAVE_GETUID
+#define getuid() 0
+#endif
+
+#ifndef HAVE_GETGID
+#define getgid() 0
+#endif
+
#endif /* ! defined (BFD_SYSDEP_H) */