summaryrefslogtreecommitdiff
path: root/libpiano/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpiano/src/main.c')
-rw-r--r--libpiano/src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c
index f5e9b85..0510830 100644
--- a/libpiano/src/main.c
+++ b/libpiano/src/main.c
@@ -21,6 +21,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
+#define _BSD_SOURCE /* required by strdup() */
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>