annotate that sys/param.h is needed for roundup and roundup2
authorderaadt <deraadt@openbsd.org>
Thu, 2 Sep 2021 21:12:09 +0000 (21:12 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 2 Sep 2021 21:12:09 +0000 (21:12 +0000)
lib/libelf/_elftc.h

index 26ae7fc..09bc0e4 100644 (file)
@@ -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