X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=libopenbsd%2Fopenbsd.h;h=d9d3c99bfa7b69d2cbb18393b6a3d86966db68ac;hb=01a8fd6567f520a5e8b0d6262f05c645f02e69a1;hp=05868444a8c9d1847e7a353f97657b854293f941;hpb=fc4df78fd381731e8125ddd7afa251bd00975e60;p=opendoas.git diff --git a/libopenbsd/openbsd.h b/libopenbsd/openbsd.h index 0586844..d9d3c99 100644 --- a/libopenbsd/openbsd.h +++ b/libopenbsd/openbsd.h @@ -41,6 +41,9 @@ int setresuid(uid_t, uid_t, uid_t); #ifndef HAVE_PLEDGE int pledge(const char *promises, const char *paths[]); #endif /* !HAVE_PLEDGE */ +#ifndef HAVE_CLOSEFROM +void closefrom(int); +#endif /* !HAVE_CLOSEFROM */ /* err.h */ #ifndef HAVE_VERRC