aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2015-01-19 14:54:16 +0000
committerokan2015-01-19 14:54:16 +0000
commit69c7524909cec83591a6cea56722753922d9999a (patch)
tree72877cdf61c2c8dd2e5e35e0909cb9058c225ca0 /menu.c
parent526655bfc9928c3519a08eba2fbeb5806ae387df (diff)
downloadcwm-69c7524909cec83591a6cea56722753922d9999a.tar.gz
Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX
and HOST_NAME_MAX+1, respectively. ok doug@
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 450fa4d..6c04fd6 100644
--- a/menu.c
+++ b/menu.c
@@ -16,15 +16,16 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: menu.c,v 1.77 2014/09/07 19:27:30 okan Exp $
+ * $OpenBSD: menu.c,v 1.78 2015/01/19 14:54:16 okan Exp $
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/queue.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
+#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>