]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: include config.h first.
authorMark Wielaard <mark@klomp.org>
Sun, 16 Oct 2022 16:23:06 +0000 (18:23 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 16 Oct 2022 16:23:10 +0000 (18:23 +0200)
Otherwise some symbols (lseek, open) might not get the 64bit offset
variants because they don't pick up _FILE_OFFSET_BITS.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/dwfl-report-offline-memory.c

index d07a910e1f5df4a6e3f215629fb08fa154471755..0ea1df3d1226a59ef69fe6d1aa52b1192c48ae3c 100644 (file)
@@ -1,3 +1,7 @@
+2022-10-16  Mark Wielaard  <mark@klomp.org>
+
+       * dwfl-report-offline-memory.c: Include config.h first.
+
 2022-10-16  Mark Wielaard  <mark@klomp.org>
 
        * dwfl-report-offline-memory.c (main): Check lseek, read and malloc
index 81fa136ff6c02f8ed27064d7f1950d6f01eb2a01..e6cb0a51f1c9a42231e84ac040fdb5a049479415 100644 (file)
@@ -15,8 +15,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include <assert.h>
 #include <config.h>
+
+#include <assert.h>
 #include <fcntl.h>
 #include <locale.h>
 #include <stdio.h>