Module Name:    src
Committed By:   christos
Date:           Thu Jan 12 22:57:26 UTC 2017

Modified Files:
        src/external/bsd/pkg_install/dist/lib: defs.h

Log Message:
need <sys/param.h> before defining MIN/MAX


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/pkg_install/dist/lib/defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/pkg_install/dist/lib/defs.h
diff -u src/external/bsd/pkg_install/dist/lib/defs.h:1.3 src/external/bsd/pkg_install/dist/lib/defs.h:1.4
--- src/external/bsd/pkg_install/dist/lib/defs.h:1.3	Tue Feb 21 13:36:17 2012
+++ src/external/bsd/pkg_install/dist/lib/defs.h	Thu Jan 12 17:57:26 2017
@@ -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

Reply via email to