aboutsummaryrefslogtreecommitdiff
path: root/compat/setenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/setenv.c')
-rw-r--r--compat/setenv.c4
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;