aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/pinkindexer.c
diff options
context:
space:
mode:
authorPhilipp Middendorf <philipp.middendorf@desy.de>2024-06-14 11:26:07 +0200
committerPhilipp Middendorf <philipp.middendorf@desy.de>2024-06-14 15:00:51 +0200
commit590ea34acbadb7b12cf52010ed83b5a48a6d3dde (patch)
tree04102f51dbf7442a24d74289e647e7a85db133f8 /libcrystfel/src/indexers/pinkindexer.c
parent535cdec37dcd94606ab5992e73c5ebd437ddfd99 (diff)
pinkindexer: remove erroneous sys/errno.h
While compiling CrystFEL using musl, this error message popped up: In file included from ../libcrystfel/src/indexers/pinkindexer.c:36: x86_64-unknown-linux-musl/sys-include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h> | ^~~~~~~ So I removed sys/errno.h completely (since I couldn't figure out where it was used in the file anyways), and the result still compiled.
Diffstat (limited to 'libcrystfel/src/indexers/pinkindexer.c')
-rw-r--r--libcrystfel/src/indexers/pinkindexer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/pinkindexer.c b/libcrystfel/src/indexers/pinkindexer.c
index 180246c2..14e18548 100644
--- a/libcrystfel/src/indexers/pinkindexer.c
+++ b/libcrystfel/src/indexers/pinkindexer.c
@@ -33,7 +33,6 @@
#include <stdlib.h>
-#include <sys/errno.h>
#include <argp.h>
#include "utils.h"