freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] master 6f46a38: [graph] Reshuffle some headers.


From: Werner Lemberg
Subject: [freetype2-demos] master 6f46a38: [graph] Reshuffle some headers.
Date: Sat, 22 Jan 2022 22:49:30 -0500 (EST)

branch: master
commit 6f46a380b50accaec6ab282110cc9d47f72340a8
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    [graph] Reshuffle some headers.
    
    * graph/grobjs.c, graph/grobjs.h, graph/win32/grwin32.c: Updated.
---
 graph/grobjs.c        | 1 +
 graph/grobjs.h        | 2 +-
 graph/win32/grwin32.c | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/graph/grobjs.c b/graph/grobjs.c
index fe3de8b..6d2c157 100644
--- a/graph/grobjs.c
+++ b/graph/grobjs.c
@@ -1,4 +1,5 @@
 #include "grobjs.h"
+#include <stdlib.h>
 #include <string.h>
 
   int  grError = 0;
diff --git a/graph/grobjs.h b/graph/grobjs.h
index 09cdde5..8cc61fb 100644
--- a/graph/grobjs.h
+++ b/graph/grobjs.h
@@ -15,7 +15,7 @@
 #ifndef GROBJS_H_
 #define GROBJS_H_
 
-#include <stdlib.h>
+#include <stddef.h>
 
 #include "graph.h"
 #include "grconfig.h"
diff --git a/graph/win32/grwin32.c b/graph/win32/grwin32.c
index 8a6ad67..0763d83 100644
--- a/graph/win32/grwin32.c
+++ b/graph/win32/grwin32.c
@@ -19,8 +19,6 @@
  *
  ******************************************************************/
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
 #define WIN32_LEAN_AND_MEAN
@@ -40,7 +38,9 @@
 #define  xxDEBUG
 
 #ifdef DEBUG
+# include <stdio.h>
 # include <stdarg.h>
+# include <ctype.h>
 
   static void  LogMessage( const char*  fmt, ... )
   {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]