1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/development/tools/misc/dbench/fix-missing-stdint.patch
Joerg Thalheim 81154d929a dbench: fix compilation with glibc 2.6
stdint is needed for intptr_t
2017-11-08 12:39:07 +00:00

11 lines
298 B
Diff

--- dbench-65b1987.org/libnfs.c 2017-11-08 12:25:39.652147989 +0000
+++ dbench-65b1987/libnfs.c 2017-11-08 12:26:20.269897054 +0000
@@ -23,6 +23,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <stdint.h>
#define discard_const(ptr) ((void *)((intptr_t)(ptr)))