diff options
author | pgen <p.gen.progs@gmail.com> | 2018-08-12 17:27:35 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2018-08-12 17:27:35 +0200 |
commit | 90aafd4117a1c255c294a99cb706e993acae185e (patch) | |
tree | 94d1e8a7a4eab11ef05efd23fe11887705a185aa | |
parent | c35ef2fadedadf42921fc71497cf6a5a3314a1fa (diff) |
Fix a FreeBSD compatibility issue
-rw-r--r-- | smenu.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -22,7 +22,7 @@ #define TPARM2(p, q, ...) tparm(p, q, 0, 0, 0, 0, 0, 0, 0, 0) #define TPARM3(p, q, r, ...) tparm(p, q, r, 0, 0, 0, 0, 0, 0, 0) -#define _XOPEN_SOURCE 600 +#define _XOPEN_SOURCE 700 #include "config.h" #include <stdio.h> #include <stdlib.h> @@ -42,9 +42,10 @@ #include <termios.h> #include <regex.h> #include <errno.h> -#include <wchar.h> #include <sys/ioctl.h> #include <sys/time.h> +#include <sys/param.h> +#include <wchar.h> /* Used for timers management */ /* """""""""""""""""""""""""" */ |