X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=95190567b06d0e37e18c50fffe6df78b6b5f09cc;hb=64bc73f5282ec0e7da6e00a8d078191e5375dc5c;hp=96a7e15b41617c85c676ac7db5c1e94ec12deadd;hpb=ba1c29dc2227dc0d4c47e189ce0682ee63a862a7;p=libsigrok.git diff --git a/Makefile.am b/Makefile.am index 96a7e15b..95190567 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,7 +29,7 @@ if BINDINGS_CXX local_includes += -Ibindings/cxx/include -I$(srcdir)/bindings/cxx/include -Ibindings/cxx endif # Ensure that local include directories are always searched first. -AM_CPPFLAGS = $(local_includes) -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"' +AM_CPPFLAGS = $(local_includes) -D_POSIX_C_SOURCE=200112L -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"' # The check CFLAGS are a superset of the libsigrok CFLAGS, and the # python bindings CFLAGS are a superset of the C++ bindings CFLAGS.