mirror of
https://github.com/fltk/fltk.git
synced 2026-02-05 15:59:50 +08:00
Remove unnecessary system includes from public headers
Add includes of system headers in the implementation files where necessary.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user