FLTK logo

[master] fb00fb3 - Minimize and fix include statements of Fl_Int_Vector

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] fb00fb3 - Minimize and fix include statements of Fl_Int_Vector "Albrecht Schlosser" Feb 02, 2023  
 
commit fb00fb3d66d01613a1284090608db82424d83b0d
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Thu Feb 2 17:00:28 2023 +0100
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Thu Feb 2 17:00:28 2023 +0100

    Minimize and fix include statements of Fl_Int_Vector
    
    - replace <FL/Fl.H> with <FL/Fl_Export.H> in public header
    - add missing <string.h> in implementation

 FL/Fl_Int_Vector.H    | 4 ++--
 src/Fl_Int_Vector.cxx | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git FL/Fl_Int_Vector.H FL/Fl_Int_Vector.H
index 8fc0a23..d21e866 100644
--- FL/Fl_Int_Vector.H
+++ FL/Fl_Int_Vector.H
@@ -2,7 +2,7 @@
 // An STL-ish vector without templates for the Fast Light Tool Kit (FLTK).
 //
 // Copyright 2002 by Greg Ercolano.
-// Copyright 2022 by Bill Spitzak and others.
+// Copyright 2022-2023 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
@@ -18,7 +18,7 @@
 #ifndef Fl_Int_Vector_H
 #define Fl_Int_Vector_H
 
-#include <FL/Fl.H>
+#include <FL/Fl_Export.H>
 
 /** \file FL/Fl_Int_Vector.H
   An STL-ish vector implemented without templates.
diff --git src/Fl_Int_Vector.cxx src/Fl_Int_Vector.cxx
index 256be4a..455dd38 100644
--- src/Fl_Int_Vector.cxx
+++ src/Fl_Int_Vector.cxx
@@ -17,6 +17,7 @@
 
 #include <FL/Fl_Int_Vector.H>
 #include <stdlib.h>
+#include <string.h>
 
 /**
   Make a copy of another array.
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.