summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-09-02 21:12:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-09-02 21:12:10 +0000
commit166a656247f9e5d36224f1160679c5e8e17e2501 (patch)
tree1a3f1bf5584cf8f8160c6dec8c9f3784bb55a7af /lib
parent044062ee6e3b0f200856e8526590feacfc9d61ef (diff)
annotate that sys/param.h is needed for roundup and roundup2
Diffstat (limited to 'lib')
-rw-r--r--lib/libelf/_elftc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libelf/_elftc.h b/lib/libelf/_elftc.h
index 26ae7fcd9db..09bc0e4c2ab 100644
--- a/lib/libelf/_elftc.h
+++ b/lib/libelf/_elftc.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: _elftc.h,v 1.1 2019/02/01 05:27:37 jsg Exp $
+ * $Id: _elftc.h,v 1.2 2021/09/02 21:12:09 deraadt Exp $
*/
/**
@@ -466,7 +466,7 @@ extern const char *__progname;
#if defined(__OpenBSD__)
-#include <sys/param.h>
+#include <sys/param.h> /* roundup roundup2 */
#include <sys/endian.h>
#define ELFTC_BYTE_ORDER _BYTE_ORDER