Skip to content

Commit 019b0e1

Browse files
authored
fix compiler complaint about strptime
from @facchinm : compilation fails due to `error: 'strptime' was not declared in this scope` which is in fact fixed by `_XOPEN_SOURCE patch`
1 parent 5535fd5 commit 019b0e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GSM.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1818
*/
1919

20+
#define _XOPEN_SOURCE
2021
#include <time.h>
2122

2223
#include "Modem.h"

0 commit comments

Comments
 (0)