Remove unnecessary system includes from public headers

Add includes of system headers in the implementation files
where necessary.
This commit is contained in:
Albrecht Schlosser
2021-03-20 21:39:28 +01:00
parent bd52db0b95
commit 41266df7ae
35 changed files with 73 additions and 75 deletions

View File

@@ -1,7 +1,7 @@
//
// Tiny OpenGL v3 + glut demo program for the Fast Light Tool Kit (FLTK).
//
// Copyright 1998-2015 by Bill Spitzak and others.
// Copyright 1998-2021 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -14,7 +14,6 @@
// https://www.fltk.org/bugs.php
//
#include <stdio.h>
#if defined(__APPLE__)
# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED 1
# include <OpenGL/gl3.h> // defines OpenGL 3.0+ functions
@@ -25,7 +24,8 @@
# include <GL/glew.h>
#endif
#include <FL/glut.H>
#include <stdio.h>
#include <stdlib.h>
// Globals
// Real programs don't use globals :-D