wmload: Bump _POSIX_C_SOURCE to 200112L.
Otherwise, we get the following warning during build.
 wmload.c: In function ‘GetLoad’:
 wmload.c:523:10: warning: incompatible implicit declaration of built-in function ‘rint’
    *usr = rint(Maximum * (float)(*usr)   /total);
           ^
Obtained from the Debian package [1].
[1] https://sources.debian.net/src/wmload/0.9.6-1/debian/patches/bump_POSIX_C_SOURCE.patch/
			
			
This commit is contained in:
		
							parent
							
								
									fc030713c4
								
							
						
					
					
						commit
						67052deb3c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
*  with this program; if not, write to the Free Software Foundation, Inc.,
 | 
					*  with this program; if not, write to the Free Software Foundation, Inc.,
 | 
				
			||||||
*  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
 | 
					*  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define _POSIX_C_SOURCE 199309L
 | 
					#define _POSIX_C_SOURCE 200112L
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue