]> git.ipfire.org Git - thirdparty/lldpd.git/commit
compat: add `strndup()` compatibility function
authorVincent Bernat <bernat@luffy.cx>
Sun, 23 Jun 2013 07:25:02 +0000 (09:25 +0200)
committerVincent Bernat <bernat@luffy.cx>
Sun, 23 Jun 2013 07:42:14 +0000 (09:42 +0200)
commit7354ec8f2bd0e5b730170abd9eface9681720fd8
tree3442999b6c25e1045bf7b1e3e40d05648dfcefdb
parentd52cf1d2729f716bfad8b343c4e048df0043ce4f
compat: add `strndup()` compatibility function

This function does not exist on OS X 10.6 for example. This was a long
time GNU extension.
configure.ac
src/compat/compat.h
src/compat/strndup.c [new file with mode: 0644]