summaryrefslogtreecommitdiffstats
path: root/libc/unistd/setreuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/setreuid.c')
-rw-r--r--libc/unistd/setreuid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/unistd/setreuid.c b/libc/unistd/setreuid.c
index 04c2826..32e70c8 100644
--- a/libc/unistd/setreuid.c
+++ b/libc/unistd/setreuid.c
@@ -26,6 +26,9 @@
* SUCH DAMAGE.
*/
#include <unistd.h>
+#include "cpuacct.h"
+
+extern int __setreuid(uid_t ruid, uid_t euid);
int setreuid(uid_t ruid, uid_t euid)
{