]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - include/builddefs.in
xfsprogs: define umode_t for build if not defined already
[thirdparty/xfsprogs-dev.git] / include / builddefs.in
index 0a3fa1a93cd919da0f4c6cbd478c188283dcd815..744e8d347fd6ed68769559102af1fad13e1e4b40 100644 (file)
@@ -109,6 +109,9 @@ GCCFLAGS = -funsigned-char -fno-strict-aliasing -Wall
 
 ifeq ($(PKG_PLATFORM),linux)
 PCFLAGS = -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_FILE_OFFSET_BITS=64 $(GCCFLAGS)
+ifeq ($(HAVE_UMODE_T),yes)
+PCFLAGS += -DHAVE_UMODE_T
+endif
 DEPENDFLAGS = -D__linux__
 endif
 ifeq ($(PKG_PLATFORM),gnukfreebsd)