summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-09-08 14:15:28 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-09-08 14:15:28 +0200
commitfaf7004c13f45442a6cdbe68ba977523d6593fc7 (patch)
treeac89711aa837fefbd02b157cb5f18685acd25b15 /src/ui.c
parent83ba73a034583165d03873e8c3098397fc9ae5e8 (diff)
downloadpianobar-faf7004c13f45442a6cdbe68ba977523d6593fc7.tar.gz
pianobar-faf7004c13f45442a6cdbe68ba977523d6593fc7.tar.bz2
pianobar-faf7004c13f45442a6cdbe68ba977523d6593fc7.zip
C99 conformance
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index 8fd5f0f..575bdc5 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -23,12 +23,16 @@ THE SOFTWARE.
/* everything that interacts with the user */
+#define _POSIX_C_SOURCE 1 /* fileno() */
+#define _BSD_SOURCE /* strdup() */
+
#include <stdio.h>
#include <stdarg.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <strings.h>
/* waitpid () */
#include <sys/types.h>