]> git.sesse.net Git - vlc/blobdiff - bin/rootwrap.c
l10n: Danish update
[vlc] / bin / rootwrap.c
index e95784c9dc3dc5604ae2e21497efe5bea894c903..03598a94178d9be5e96e177370d1fcde6fa905c7 100644 (file)
@@ -18,7 +18,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 #define _XPG4_2 /* ancilliary data on Solaris */
@@ -34,7 +34,9 @@
 #include <sys/socket.h>
 #include <sys/uio.h>
 #include <sys/resource.h> /* getrlimit() */
+#ifdef RLIMIT_RTPRIO
 #include <sched.h>
+#endif
 #include <errno.h>
 #include <netinet/in.h>