Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/pkg_install/dist/lib need <sys/param.h> before ...
details: https://anonhg.NetBSD.org/src/rev/00fb15e4fea1
branches: trunk
changeset: 350499:00fb15e4fea1
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 12 22:57:26 2017 +0000
description:
need <sys/param.h> before defining MIN/MAX
diffstat:
external/bsd/pkg_install/dist/lib/defs.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r a7bc05390cd6 -r 00fb15e4fea1 external/bsd/pkg_install/dist/lib/defs.h
--- a/external/bsd/pkg_install/dist/lib/defs.h Thu Jan 12 22:16:29 2017 +0000
+++ b/external/bsd/pkg_install/dist/lib/defs.h Thu Jan 12 22:57:26 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: defs.h,v 1.3 2012/02/21 18:36:17 wiz Exp $ */
+/* $NetBSD: defs.h,v 1.4 2017/01/12 22:57:26 christos Exp $ */
/*-
* Copyright (c) 1999,2000,2009 The NetBSD Foundation, Inc.
@@ -31,6 +31,9 @@
#ifndef DEFS_H_
#define DEFS_H_
+#if HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#if HAVE_CONFIG_H
#include "config.h"
#endif
Home |
Main Index |
Thread Index |
Old Index