diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-04-20 19:09:07 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-04-20 19:09:07 +0100 |
commit | 9420758127dbcf4de83d3f4d9354e292c015f1ba (patch) | |
tree | 729437eb871932ef73efb0b6cc7abe0bb8543126 /compat/setenv.c | |
parent | 7934e7a6b518ec96d95fc4e9303d6fdafcac54bc (diff) |
getptmfd() and fdforkpty() compat.
Diffstat (limited to 'compat/setenv.c')
-rw-r--r-- | compat/setenv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compat/setenv.c b/compat/setenv.c index 9f9295c8..d9235bcc 100644 --- a/compat/setenv.c +++ b/compat/setenv.c @@ -15,13 +15,15 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include <stdlib.h> #include <string.h> #include "compat.h" int -setenv(const char *name, const char *value, unused int overwrite) +setenv(const char *name, const char *value, __unused int overwrite) { char *newval; |