use math.h for ceilf
This commit is contained in:
		
							
								
								
									
										2
									
								
								x.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								x.c
									
									
									
									
									
								
							@ -1,5 +1,6 @@
 | 
				
			|||||||
/* See LICENSE for license details. */
 | 
					/* See LICENSE for license details. */
 | 
				
			||||||
#include <errno.h>
 | 
					#include <errno.h>
 | 
				
			||||||
 | 
					#include <math.h>
 | 
				
			||||||
#include <limits.h>
 | 
					#include <limits.h>
 | 
				
			||||||
#include <locale.h>
 | 
					#include <locale.h>
 | 
				
			||||||
#include <signal.h>
 | 
					#include <signal.h>
 | 
				
			||||||
@ -901,7 +902,6 @@ xloadfonts(char *fontstr, double fontsize)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	FcPattern *pattern;
 | 
						FcPattern *pattern;
 | 
				
			||||||
	double fontval;
 | 
						double fontval;
 | 
				
			||||||
	float ceilf(float);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (fontstr[0] == '-') {
 | 
						if (fontstr[0] == '-') {
 | 
				
			||||||
		pattern = XftXlfdParse(fontstr, False, False);
 | 
							pattern = XftXlfdParse(fontstr, False, False);
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user