File: 06_ftbfs_fix.patch

package info (click to toggle)
alsaplayer 0.99.82-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,892 kB
  • sloc: ansic: 40,741; cpp: 14,400; makefile: 983; sh: 796; lex: 751; asm: 45; python: 29; sed: 16
file content (18 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Michael Casadevall <sonicmctails@gmail.com>
Last-Update: Wed, 16 Sep 2009 01:59:35 +0200
Description: Corrects FTBFS by adding missing header
Note: Does probably not harm but can be possibly dropped

--- a/alsaplayer/CorePlayer.h
+++ b/alsaplayer/CorePlayer.h
@@ -37,6 +37,10 @@
 #define PATH_MAX 1024
 #endif
 
+#ifdef __linux__
+#include <linux/limits.h>
+#endif // __linux__
+
 // Tunable parameters
 
 #define BUF_SIZE (10240)	// Size of a single ringbuffer partition