[pulseaudio-commits] r1850 - /branches/lennart/src/utils/pasuspender.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue Sep 18 03:36:18 PDT 2007
Author: ossman
Date: Tue Sep 18 12:36:17 2007
New Revision: 1850
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1850&root=pulseaudio&view=rev
Log:
Make sure the header file is only included on linux (as this is a linux-only
feature).
Modified:
branches/lennart/src/utils/pasuspender.c
Modified: branches/lennart/src/utils/pasuspender.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/utils/pasuspender.c?rev=1850&root=pulseaudio&r1=1849&r2=1850&view=diff
==============================================================================
--- branches/lennart/src/utils/pasuspender.c (original)
+++ branches/lennart/src/utils/pasuspender.c Tue Sep 18 12:36:17 2007
@@ -25,7 +25,6 @@
#include <config.h>
#endif
-#include <sys/prctl.h>
#include <sys/types.h>
#include <sys/wait.h>
@@ -40,6 +39,10 @@
#include <getopt.h>
#include <sndfile.h>
+
+#ifdef __linux__
+#include <sys/prctl.h>
+#endif
#include <pulse/pulseaudio.h>
#include <pulsecore/macro.h>
More information about the pulseaudio-commits
mailing list